File tree Expand file tree Collapse file tree 4 files changed +7
-7
lines changed
tests/PackageServiceProviderTests Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -18,14 +18,14 @@ public function configurePackage(Package $package)
18
18
}
19
19
20
20
/** @test */
21
- public function it_can_publish_the_migration ()
21
+ public function it_can_publish_multiple_migrations ()
22
22
{
23
23
$ this
24
24
->artisan ('vendor:publish --tag=package-tools-migrations ' )
25
25
->assertExitCode (0 );
26
26
27
- $ this ->assertFileExists (database_path ('migrations/2020_01_01_000000_create_laravel_package_tools_table .php ' ));
28
- $ this ->assertFileExists (database_path ('migrations/2020_01_01_000001_create_other_laravel_package_tools_table .php ' ));
29
- $ this ->assertFileExists (database_path ('migrations/2020_01_01_000002_create_third_laravel_package_tools_table .php ' ));
27
+ $ this ->assertFileExists (database_path ('migrations/2020_01_01_000001_create_laravel_package_tools_table .php ' ));
28
+ $ this ->assertFileExists (database_path ('migrations/2020_01_01_000002_create_other_laravel_package_tools_table .php ' ));
29
+ $ this ->assertFileExists (database_path ('migrations/2020_01_01_000003_create_third_laravel_package_tools_table .php ' ));
30
30
}
31
31
}
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ public function configurePackage(Package $package)
17
17
public function it_can_publish_the_assets ()
18
18
{
19
19
$ this
20
- ->artisan ('vendor:publish --tag=laravel- package-tools-assets ' )
20
+ ->artisan ('vendor:publish --tag=package-tools-assets ' )
21
21
->assertExitCode (0 );
22
22
23
23
$ this ->assertFileExists (public_path ('vendor/package-tools/dummy.js ' ));
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ public function it_can_register_the_config_file()
23
23
public function it_can_publish_the_config_file ()
24
24
{
25
25
$ this
26
- ->artisan ('vendor:publish --tag=laravel- package-tools-config ' )
26
+ ->artisan ('vendor:publish --tag=package-tools-config ' )
27
27
->assertExitCode (0 );
28
28
29
29
$ this ->assertFileExists (config_path ('package-tools.php ' ));
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ public function it_can_load_the_translations()
23
23
public function it_can_publish_the_translations ()
24
24
{
25
25
$ this
26
- ->artisan ('vendor:publish --tag=laravel- package-tools-translations ' )
26
+ ->artisan ('vendor:publish --tag=package-tools-translations ' )
27
27
->assertExitCode (0 );
28
28
29
29
$ this ->assertFileExists (resource_path ('lang/vendor/package-tools/en/translations.php ' ));
You can’t perform that action at this time.
0 commit comments