diff --git a/core/modules/views/tests/src/Kernel/CachableMetadataCalculationTest.php b/core/modules/views/tests/src/Kernel/CachableMetadataCalculationTest.php index 1befb03bd4..9c4b852b88 100644 --- a/core/modules/views/tests/src/Kernel/CachableMetadataCalculationTest.php +++ b/core/modules/views/tests/src/Kernel/CachableMetadataCalculationTest.php @@ -72,21 +72,21 @@ public function testCacheableMetadataCalculation() { // metadata to be recalculated. $this->enableModules([self::TEST_MODULE]); $this->installConfig([self::TEST_MODULE]); - $this->assertCachebleMetadataHasBeenCalculated(FALSE); + $this->assertCacheableMetadataHasBeenCalculated(FALSE); // When a view is saved normally we have to recalculate the cacheability // metadata, since it is possible changes have been made to the view that // affect cacheability. $view = $this->entityTypeManager->getStorage('view')->load(self::TEST_VIEW_ID); $view->save(); - $this->assertCachebleMetadataHasBeenCalculated(TRUE); + $this->assertCacheableMetadataHasBeenCalculated(TRUE); $this->resetState(); // When a view is being saved due to config being synchronized, the // cacheability metadata doesn't change so it should not be recalculated. $view->setSyncing(TRUE); $view->save(); - $this->assertCachebleMetadataHasBeenCalculated(FALSE); + $this->assertCacheableMetadataHasBeenCalculated(FALSE); } /** @@ -96,9 +96,9 @@ public function testCacheableMetadataCalculation() { * TRUE if it is expected that the cacheability metadata has been * calculated. FALSE otherwise. */ - protected function assertCachebleMetadataHasBeenCalculated($expected_result) { + protected function assertCacheableMetadataHasBeenCalculated($expected_result) { $this->state->resetCache(); - $this->assertEquals($expected_result, $this->state->get('views_test_cacheable_metadata_has_been_accessed')); + $this->assertSame($expected_result, $this->state->get('views_test_cacheable_metadata_has_been_accessed')); } /**