You are here

protected function WebformAssertLegacyTrait::assertEqual in Webform 6.x

Same name and namespace in other branches
  1. 8.5 tests/src/Traits/WebformAssertLegacyTrait.php \Drupal\Tests\webform\Traits\WebformAssertLegacyTrait::assertEqual()

See also

\Drupal\simpletest\TestBase::assertEqual()

70 calls to WebformAssertLegacyTrait::assertEqual()
WebformAccessSubmissionViewsTest::checkUserSubmissionAccess in modules/webform_access/tests/src/Functional/WebformAccessSubmissionViewsTest.php
Check user submission access.
WebformAccessTokensTest::testWebformAccessTokens in modules/webform_access/tests/src/Functional/WebformAccessTokensTest.php
Tests webform access tokens.
WebformAttachmentTest::testWebformAttachment in modules/webform_attachment/tests/src/Functional/WebformAttachmentTest.php
Tests webform attachment.
WebformCacheTest::testCache in tests/src/Functional/Cache/WebformCacheTest.php
Test cache.
WebformCompositeCustomFileTest::testCustom in tests/src/Functional/Composite/WebformCompositeCustomFileTest.php
Test custom composite element.

... See full list

File

tests/src/Traits/WebformAssertLegacyTrait.php, line 26

Class

WebformAssertLegacyTrait
Provides convenience methods for assertions in browser tests.

Namespace

Drupal\Tests\webform\Traits

Code

protected function assertEqual($expected, $actual, $message = '') {
  $this
    ->assertEquals($expected, $actual, $message);
}