Skip to content

Commit 62e231b

Browse files
authored
Fix test
1 parent 2171b79 commit 62e231b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/Feature/MakeMappingCommandTest.php

+4-4
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public function it_maps_entities(): void
2323

2424
$this->assertFalse(File::exists($destination), 'The destination file already exists.');
2525

26-
Artisan::call('make:doctrine:mapping Foo');
26+
Artisan::call('make:mapping Foo');
2727

2828
$this->assertTrue(File::exists($destination), 'The file was not generated where we expect.');
2929

@@ -70,7 +70,7 @@ public function it_maps_value_objects(): void
7070

7171
$this->assertFalse(File::exists($destination), 'The destination file already exists.');
7272

73-
Artisan::call('make:doctrine:mapping Foo --value');
73+
Artisan::call('make:mapping Foo --value');
7474

7575
$this->assertTrue(File::exists($destination), 'The file was not generated where we expect.');
7676

@@ -116,7 +116,7 @@ public function it_allows_configuring_namespace_of_mapping_class(): void
116116

117117
$this->assertFalse(File::exists($destination), 'The destination file already exists.');
118118

119-
Artisan::call('make:doctrine:mapping Foo');
119+
Artisan::call('make:mapping Foo');
120120

121121
$this->assertTrue(File::exists($destination), 'The file was not generated where we expect.');
122122

@@ -165,7 +165,7 @@ public function it_handles_all_customized_namespaces(): void
165165

166166
$this->assertFalse(File::exists($destination), 'The destination file already exists.');
167167

168-
Artisan::call('make:doctrine:mapping Bar');
168+
Artisan::call('make:mapping Bar');
169169

170170
$this->assertTrue(File::exists($destination), 'The file was not generated where we expect.');
171171

0 commit comments

Comments
 (0)