]> BookStack Code Mirror - bookstack/blobdiff - tests/User/UserProfileTest.php
Added examples, updated docs for image gallery api endpoints
[bookstack] / tests / User / UserProfileTest.php
index 77f1644a5e184335419e5ee121b1e9f816e2abbf..c507e8fa63a98d96329e1fad0d435b5021ec32b0 100644 (file)
@@ -88,8 +88,8 @@ class UserProfileTest extends TestCase
 
     public function test_profile_has_search_links_in_created_entity_lists()
     {
-        $user = $this->getEditor();
-        $resp = $this->actingAs($this->getAdmin())->get('/user/' . $user->slug);
+        $user = $this->users->editor();
+        $resp = $this->actingAs($this->users->admin())->get('/user/' . $user->slug);
 
         $expectedLinks = [
             '/search?term=%7Bcreated_by%3A' . $user->slug . '%7D+%7Btype%3Apage%7D',