1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-28 17:02:04 +03:00

Aligned command class code

- Aligned usage of injecting through handler.
- Aligned handler return type.
- Aligned argument and arg desc format.
- Aligned lack of constructor.
This commit is contained in:
Dan Brown
2023-05-24 12:59:50 +01:00
parent 0704f1bd0d
commit c0620da9f8
17 changed files with 86 additions and 250 deletions

View 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()