66 calls to AssertLegacyTrait::assertNotEqual()

AccessRoleTest::testRenderCaching in core/modules/user/tests/src/Functional/Views/AccessRoleTest.php
Tests access on render caching.
CacheTest::testTimeResultCachingWithFilter in core/modules/views/tests/src/Kernel/Plugin/CacheTest.php
Tests result caching with filters.
ConfigEntityTest::testCRUD in core/modules/config/tests/src/Functional/ConfigEntityTest.php
Tests CRUD operations.
ConfigExportImportUITest::testExportImport in core/modules/config/tests/src/Functional/ConfigExportImportUITest.php
Tests a simple site export import case.
ConfigImportUITest::testImportLock in core/modules/config/tests/src/Functional/ConfigImportUITest.php
Tests concurrent importing of configuration.
ConfigImportUITest::testImportValidation in core/modules/config/tests/src/Functional/ConfigImportUITest.php
Tests that multiple validation errors are listed on the page.
ConnectionTest::testConnectionOptions in core/tests/Drupal/KernelTests/Core/Database/ConnectionTest.php
Tests the connection options of the active database.
ContactSitewideTest::testSiteWideContact in core/modules/contact/tests/src/Functional/ContactSitewideTest.php
Tests configuration options and the site-wide contact form.
ContentTranslationMetadataFieldsTest::testSetTranslatable in core/modules/content_translation/tests/src/Functional/ContentTranslationMetadataFieldsTest.php
Tests setting translatable metadata fields.
ContentTranslationUITestBase::doTestBasicTranslation in core/modules/content_translation/tests/src/Functional/ContentTranslationUITestBase.php
Tests the basic translation workflow.
ContentTranslationUITestBase::doTestChangedTimeAfterSaveWithoutChanges in core/modules/content_translation/tests/src/Functional/ContentTranslationUITestBase.php
Test the changed time after API and FORM save without changes.
CopyTest::testExistingRename in core/modules/file/tests/src/Kernel/CopyTest.php
Test renaming when copying over a file that already exists.
DirectoryTest::testFileDestination in core/tests/Drupal/KernelTests/Core/File/DirectoryTest.php
This will test the filepath for a destination based on passed flags and whether or not the file exists.
EntityApiTest::testEntityStorageExceptionHandling in core/tests/Drupal/KernelTests/Core/Entity/EntityApiTest.php
Tests that exceptions are thrown when saving or deleting an entity.
EntityFormTest::doTestFormCRUD in core/modules/system/tests/src/Functional/Entity/EntityFormTest.php
Executes the form CRUD tests for the given entity type.
EntityRevisionsTest::runRevisionsTests in core/modules/system/tests/src/Functional/Entity/EntityRevisionsTest.php
Executes the revision tests for the given entity type.
EntitySchemaTest::testCleanUpStorageDefinition in core/tests/Drupal/KernelTests/Core/Entity/EntitySchemaTest.php
Tests fields from an uninstalled module are removed from the schema.
EntityTranslationTest::doTestEntityTranslationAPI in core/tests/Drupal/KernelTests/Core/Entity/EntityTranslationTest.php
Executes the Entity Translation API tests for the given entity type.
EntityUUIDTest::assertCRUD in core/tests/Drupal/KernelTests/Core/Entity/EntityUUIDTest.php
Executes the UUID CRUD tests for the given entity type.
FieldSqlStorageTest::testTableNames in core/tests/Drupal/KernelTests/Core/Entity/FieldSqlStorageTest.php
Tests table name generation.
FileCopyTest::testNormal in core/tests/Drupal/KernelTests/Core/File/FileCopyTest.php
Copy a normal file.
FileCopyTest::testOverwriteSelf in core/tests/Drupal/KernelTests/Core/File/FileCopyTest.php
Copy a file onto itself.
FileFieldAnonymousSubmissionTest::doTestNodeWithFileWithoutTitle in core/modules/file/tests/src/Functional/FileFieldAnonymousSubmissionTest.php
Helper method to test file submissions with missing node titles.
FileFieldAnonymousSubmissionTest::testAnonymousNode in core/modules/file/tests/src/Functional/FileFieldAnonymousSubmissionTest.php
Tests the basic node submission for an anonymous visitor.
FileFieldAnonymousSubmissionTest::testAnonymousNodeWithFile in core/modules/file/tests/src/Functional/FileFieldAnonymousSubmissionTest.php
Tests file submission for an anonymous visitor.
FileFieldTestBase::uploadNodeFiles in core/modules/file/tests/src/Functional/FileFieldTestBase.php
Uploads multiple files to a node.
FileFieldWidgetTest::testPrivateFileComment in core/modules/file/tests/src/Functional/FileFieldWidgetTest.php
Tests that download restrictions on private files work on comments.
FileManagedTestBase::assertDifferentFile in core/modules/file/tests/src/Functional/FileManagedTestBase.php
Asserts that two files are not the same by comparing the fid and filepath.
FileManagedUnitTestBase::assertDifferentFile in core/modules/file/tests/src/Kernel/FileManagedUnitTestBase.php
Asserts that two files are not the same by comparing the fid and filepath.
FileMoveTest::testNormal in core/tests/Drupal/KernelTests/Core/File/FileMoveTest.php
Move a normal file.
FormatterPluginManagerTest::testNotApplicableFallback in core/modules/field/tests/src/Kernel/FormatterPluginManagerTest.php
Tests that getInstance falls back on default if current is not applicable.
FormStoragePageCacheTest::testRebuildFormStorageOnCachedPage in core/modules/system/tests/src/Functional/Form/FormStoragePageCacheTest.php
Build-id is regenerated when rebuilding cached form.
FormStoragePageCacheTest::testValidateFormStorageOnCachedPage in core/modules/system/tests/src/Functional/Form/FormStoragePageCacheTest.php
Build-id is regenerated when validating cached form.
HtmlToTextTest::testRemoveTrailingWhitespace in core/modules/system/tests/src/Functional/Mail/HtmlToTextTest.php
Tests that trailing whitespace is removed before newlines.
ImageStylesPathAndUrlTest::doImageStyleUrlAndPathTests in core/modules/image/tests/src/Functional/ImageStylesPathAndUrlTest.php
Tests building an image style URL.
KeyValueContentEntityStorageTest::testCRUD in core/tests/Drupal/KernelTests/Core/KeyValueStore/KeyValueContentEntityStorageTest.php
Tests CRUD operations.
LanguageUrlRewritingTest::checkUrl in core/modules/language/tests/src/Functional/LanguageUrlRewritingTest.php
Check URL rewriting for the given language.
LocaleConfigSubscriberTest::assertConfigOverride in core/modules/locale/tests/src/Kernel/LocaleConfigSubscriberTest.php
Ensures configuration was saved correctly.
LocaleConfigSubscriberTest::assertNoConfigOverride in core/modules/locale/tests/src/Kernel/LocaleConfigSubscriberTest.php
Ensures configuration override is not present anymore.
LocaleStringIsSafeTest::testLocalizedTokenizedString in core/modules/locale/tests/src/Kernel/LocaleStringIsSafeTest.php
Tests if a translated and tokenized string is properly escaped by Twig.
MoveTest::testExistingRename in core/modules/file/tests/src/Kernel/MoveTest.php
Test renaming when moving onto a file that already exists.
NameMungingTest::testMunging in core/tests/Drupal/KernelTests/Core/File/NameMungingTest.php
Create a file and munge/unmunge the name.
NodeAccessRecordsTest::testNodeAccessRecords in core/modules/node/tests/src/Kernel/NodeAccessRecordsTest.php
Creates a node and tests the creation of node access rules.
NodeFormSaveChangedTimeTest::testChangedTimeAfterSaveWithoutChanges in core/modules/node/tests/src/Functional/NodeFormSaveChangedTimeTest.php
Test the changed time after API and FORM save without changes.
NodeRevisionsTest::testRevisionTranslationRevert in core/modules/node/tests/src/Functional/NodeRevisionsTest.php
Tests the revision translations are correctly reverted.
NodeRevisionsUiTest::testNodeFormSaveWithoutRevision in core/modules/node/tests/src/Functional/NodeRevisionsUiTest.php
Checks that unchecking 'Create new revision' works when editing a node.
ProgrammaticTest::testProgrammaticAccessBypass in core/modules/system/tests/src/Kernel/Form/ProgrammaticTest.php
Test the programmed_bypass_access_check flag.
SearchAdvancedSearchFormTest::testNodeType in core/modules/search/tests/src/Functional/SearchAdvancedSearchFormTest.php
Tests advanced search by node type.
SearchNodeUpdateAndDeletionTest::testSearchIndexUpdateOnNodeDeletion in core/modules/search/tests/src/Functional/SearchNodeUpdateAndDeletionTest.php
Tests that the search index info is updated when a node is deleted.
SelectComplexTest::testDefaultJoin in core/tests/Drupal/KernelTests/Core/Database/SelectComplexTest.php
Tests simple JOIN statements.
SelectComplexTest::testJoinConditionObject in core/tests/Drupal/KernelTests/Core/Database/SelectComplexTest.php
Test that join conditions can use Condition objects.
SelectComplexTest::testJoinTwice in core/tests/Drupal/KernelTests/Core/Database/SelectComplexTest.php
Confirms we can join on a single table twice with a dynamic alias.
SelectTest::testRandomOrder in core/tests/Drupal/KernelTests/Core/Database/SelectTest.php
Tests that random ordering of queries works.
SessionTest::testSessionWrite in core/modules/system/tests/src/Functional/Session/SessionTest.php
Test that sessions are only saved when necessary.
ShortcutSetsTest::testShortcutSetSwitchCreate in core/modules/shortcut/tests/src/Functional/ShortcutSetsTest.php
Tests switching a user's shortcut set and creating one at the same time.
SortRandomTest::testRandomOrderingWithRenderCaching in core/modules/views/tests/src/Kernel/Handler/SortRandomTest.php
Tests random ordering with tags based caching.
StyleSerializerTest::testRestRenderCaching in core/modules/rest/tests/src/Functional/Views/StyleSerializerTest.php
Tests REST export with views render caching enabled.
ToolbarAdminMenuTest::assertDifferentHash in core/modules/toolbar/tests/src/Functional/ToolbarAdminMenuTest.php
Asserts the subtrees hash on a fresh page GET is different from the hash from the previous page GET.
ToolbarAdminMenuTest::testLanguageSwitching in core/modules/toolbar/tests/src/Functional/ToolbarAdminMenuTest.php
Test that subtrees hashes vary by the language of the page.
ToolbarAdminMenuTest::testLocaleTranslationSubtreesHashCacheClear in core/modules/toolbar/tests/src/Functional/ToolbarAdminMenuTest.php
Tests that toolbar cache is cleared when string translations are made.
TransformedConfigExportImportUITest::testTransformedExportImport in core/modules/config/tests/src/Functional/TransformedConfigExportImportUITest.php
Tests a simple site export import case.
TwigEnvironmentTest::testCacheFilename in core/tests/Drupal/KernelTests/Core/Theme/TwigEnvironmentTest.php
Ensures that cacheFilename() varies by extensions + deployment identifier.
UserPermissionsTest::testUserPermissionChanges in core/modules/user/tests/src/Functional/UserPermissionsTest.php
Test changing user permissions through the permissions page.
UserPermissionsTest::testUserRoleChangePermissions in core/modules/user/tests/src/Functional/UserPermissionsTest.php
Verify proper permission changes by user_role_change_permissions().
ViewsIntegrationTest::testMessages in core/modules/dblog/tests/src/Kernel/Views/ViewsIntegrationTest.php
Tests the messages escaping functionality.
WidgetPluginManagerTest::testNotApplicableFallback in core/modules/field/tests/src/Kernel/WidgetPluginManagerTest.php
Tests that getInstance falls back on default if current is not applicable.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.