]> BookStack Code Mirror - bookstack/blobdiff - tests/References/ReferencesTest.php
Queries: Update API to align data with previous versions
[bookstack] / tests / References / ReferencesTest.php
index bc691b0cd56adcde5684a33fe012770de31e6bde..715f7143534b09ddcf179bd2517c5a11c6461462 100644 (file)
@@ -102,13 +102,13 @@ class ReferencesTest extends TestCase
 
         foreach ($entities as $entity) {
             $resp = $this->get($entity->getUrl());
-            $resp->assertSee('Referenced on 1 page');
-            $resp->assertDontSee('Referenced on 1 pages');
+            $resp->assertSee('Referenced by 1 item');
+            $resp->assertDontSee('Referenced by 1 items');
         }
 
         $this->createReference($otherPage, $entities['page']);
         $resp = $this->get($entities['page']->getUrl());
-        $resp->assertSee('Referenced on 2 pages');
+        $resp->assertSee('Referenced by 2 items');
     }
 
     public function test_references_to_visible_on_references_page()