]> BookStack Code Mirror - bookstack/blobdiff - tests/Commands/CopyShelfPermissionsCommandTest.php
respective book and chapter structure added.
[bookstack] / tests / Commands / CopyShelfPermissionsCommandTest.php
index c4b9fe6f305142cad1795f27b34b2145c67b0fb2..5c21a2e341cef66fa90011c0683bfa9007f722d6 100644 (file)
@@ -11,7 +11,7 @@ class CopyShelfPermissionsCommandTest extends TestCase
     {
         $this->artisan('bookstack:copy-shelf-permissions')
             ->expectsOutput('Either a --slug or --all option must be provided.')
-            ->assertExitCode(0);
+            ->assertExitCode(1);
     }
 
     public function test_copy_shelf_permissions_command_using_slug()