diff --git a/tests/src/Unit/BlockPluginCollectionTest.php b/tests/src/Unit/BlockPluginCollectionTest.php index 7e6a5ba..c222fc9 100644 --- a/tests/src/Unit/BlockPluginCollectionTest.php +++ b/tests/src/Unit/BlockPluginCollectionTest.php @@ -11,7 +11,7 @@ use Drupal\page_manager\Plugin\BlockPluginCollection; use Drupal\Tests\UnitTestCase; /** - * Tests the block plugin bag. + * Tests the block plugin collection. * * @coversDefaultClass \Drupal\page_manager\Plugin\BlockPluginCollection * diff --git a/tests/src/Unit/PageAccessTest.php b/tests/src/Unit/PageAccessTest.php index e386424..15a3ebd 100644 --- a/tests/src/Unit/PageAccessTest.php +++ b/tests/src/Unit/PageAccessTest.php @@ -104,7 +104,7 @@ class PageAccessTest extends UnitTestCase { $account = $this->getMock('Drupal\Core\Session\AccountInterface'); $page->expects($this->once()) - ->method('getCacheTag') + ->method('getCacheTags') ->willReturn(['page:1']); $this->assertFalse($this->pageAccess->access($page, 'view', NULL, $account)); @@ -131,7 +131,7 @@ class PageAccessTest extends UnitTestCase { // Ensure that the cache tag is added for the temporary conditions. if ($is_new || $is_fallback) { $page->expects($this->once()) - ->method('getCacheTag') + ->method('getCacheTags') ->willReturn(['page:1']); }