diff --git a/src/Tests/CollectWebTest.php b/src/Tests/CollectWebTest.php index f0bd99c..ef26dda 100644 --- a/src/Tests/CollectWebTest.php +++ b/src/Tests/CollectWebTest.php @@ -116,7 +116,7 @@ class CollectWebTest extends WebTestBase { $this->drupalGet($this->getUrl()); $this->clickLink(t('Raw data')); $this->assertNoText('Hello World!'); - $this->assertText('Unknown model and MIME type.'); + $this->assertText(t('Unknown schema and MIME type.')); // Tests container listing. diff --git a/src/Tests/EntityWebTest.php b/src/Tests/EntityWebTest.php index fd24741..112c590 100644 --- a/src/Tests/EntityWebTest.php +++ b/src/Tests/EntityWebTest.php @@ -432,7 +432,7 @@ class EntityWebTest extends WebTestBase { // Tests creating an entity that cannot be created and checks the error // messages. $this->drupalGet($user_container_url); - $this->clickLink(t('Set up a @plugin schema', [ + $this->clickLink(t('Set up a @plugin model', [ '@plugin' => t('Collect JSON'), ])); $this->drupalPostForm(NULL, [