]> BookStack Code Mirror - bookstack/blobdiff - tests/Sorting/MoveTest.php
Merge pull request #5917 from BookStackApp/copy_references
[bookstack] / tests / Sorting / MoveTest.php
index edae1f3a3e1bd9a37ce67e1f3e9de52d46bfee56..5a341026bf2cd8ed832860f6c895208cda51b704 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 
-namespace Sorting;
+namespace Tests\Sorting;
 
 use BookStack\Entities\Models\Book;
 use BookStack\Entities\Models\Chapter;
@@ -20,7 +20,7 @@ class MoveTest extends TestCase
 
         $movePageResp = $this->put($page->getUrl('/move'), [
             'entity_selection' => 'book:' . $newBook->id,
-        ]);
+        ])->assertRedirect();
         $page->refresh();
 
         $movePageResp->assertRedirect($page->getUrl());