Skip to content

Commit a5853a5

Browse files
committed
update tests
1 parent c6dc52c commit a5853a5

14 files changed

+43
-81
lines changed

tests/BaseTestCase.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
namespace Laraneat\Modules\Tests;
44

55
use Illuminate\Foundation\Application;
6-
use Laraneat\Modules\Commands;
76
use Laraneat\Modules\ModulesServiceProvider;
87
use Orchestra\Testbench\TestCase as OrchestraTestCase;
98

@@ -89,10 +88,6 @@ protected function getEnvironmentSetUp($app): void
8988
'path' => 'UI/CLI/Tests',
9089
'generate' => false
9190
],
92-
'config' => [
93-
'path' => 'Config',
94-
'generate' => true
95-
],
9691
'dto' => [
9792
'path' => 'DTO',
9893
'generate' => true

tests/Commands/Generators/__snapshots__/ComponentsMakeCommandTest__it_can_set_custom_model__13.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ class BlogServiceProvider extends ServiceProvider
2525
*/
2626
public function boot(): void
2727
{
28-
$this->registerTranslations();
29-
$this->registerViews();
3028
$this->registerMigrations();
31-
$this->registerCommands();
29+
// $this->registerTranslations();
30+
// $this->registerCommands();
31+
// $this->registerViews();
3232
}
3333

3434
/**

tests/Commands/Generators/__snapshots__/ComponentsMakeCommandTest__it_can_set_custom_model__2.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
2-
"name": "laraneat/blog",
2+
"name": "example/blog",
33
"description": "",
44
"authors": [
55
{
6-
"name": "Salakhutdinov Salavat",
7-
"email": "salahutdinov.salavat@gmail.com"
6+
"name": "Example name",
7+
"email": "example@example.com"
88
}
99
],
1010
"autoload": {

tests/Commands/Generators/__snapshots__/ComponentsMakeCommandTest__it_can_set_custom_model__43.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ class BlogServiceProvider extends ServiceProvider
2525
*/
2626
public function boot(): void
2727
{
28-
$this->registerTranslations();
29-
$this->registerViews();
3028
$this->registerMigrations();
31-
$this->registerCommands();
29+
// $this->registerTranslations();
30+
// $this->registerCommands();
31+
// $this->registerViews();
3232
}
3333

3434
/**

tests/Commands/Generators/__snapshots__/ComponentsMakeCommandTest__it_generates_module_components__11.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ class ArticleServiceProvider extends ServiceProvider
2525
*/
2626
public function boot(): void
2727
{
28-
$this->registerTranslations();
29-
$this->registerViews();
3028
$this->registerMigrations();
31-
$this->registerCommands();
29+
// $this->registerTranslations();
30+
// $this->registerCommands();
31+
// $this->registerViews();
3232
}
3333

3434
/**

tests/Commands/Generators/__snapshots__/ModuleMakeCommandTest__it_can_set_custom_model__13.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ class BlogServiceProvider extends ServiceProvider
2525
*/
2626
public function boot(): void
2727
{
28-
$this->registerTranslations();
29-
$this->registerViews();
3028
$this->registerMigrations();
31-
$this->registerCommands();
29+
// $this->registerTranslations();
30+
// $this->registerCommands();
31+
// $this->registerViews();
3232
}
3333

3434
/**

tests/Commands/Generators/__snapshots__/ModuleMakeCommandTest__it_can_set_custom_model__2.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
2-
"name": "laraneat/blog",
2+
"name": "example/blog",
33
"description": "",
44
"authors": [
55
{
6-
"name": "Salakhutdinov Salavat",
7-
"email": "salahutdinov.salavat@gmail.com"
6+
"name": "Example name",
7+
"email": "example@example.com"
88
}
99
],
1010
"autoload": {

tests/Commands/Generators/__snapshots__/ModuleMakeCommandTest__it_generates_module_components__11.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ class ArticleServiceProvider extends ServiceProvider
2525
*/
2626
public function boot(): void
2727
{
28-
$this->registerTranslations();
29-
$this->registerViews();
3028
$this->registerMigrations();
31-
$this->registerCommands();
29+
// $this->registerTranslations();
30+
// $this->registerCommands();
31+
// $this->registerViews();
3232
}
3333

3434
/**

tests/Commands/Generators/__snapshots__/ModuleMakeCommandTest__it_generates_module_namespace_using_studly_case__1.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ class ModuleNameServiceProvider extends ServiceProvider
2525
*/
2626
public function boot(): void
2727
{
28-
$this->registerTranslations();
29-
$this->registerViews();
3028
$this->registerMigrations();
31-
$this->registerCommands();
29+
// $this->registerTranslations();
30+
// $this->registerCommands();
31+
// $this->registerViews();
3232
}
3333

3434
/**

tests/Commands/Generators/__snapshots__/ModuleMakeCommandTest__it_generates_module_scaffold_files__2.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
2-
"name": "laraneat/article",
2+
"name": "example/article",
33
"description": "",
44
"authors": [
55
{
6-
"name": "Salakhutdinov Salavat",
7-
"email": "salahutdinov.salavat@gmail.com"
6+
"name": "Example name",
7+
"email": "example@example.com"
88
}
99
],
1010
"autoload": {

0 commit comments

Comments
 (0)