@@ -41,7 +41,7 @@ public function testUpdateDefaultLocale(): void
41
41
{
42
42
@mkdir (self ::$ languageTestPath . self ::$ locale , 0777 , true );
43
43
Services::commands ()->run ('lang:find ' , [
44
- 'dir ' => 'Services/ Translation ' ,
44
+ 'dir ' => 'Translation ' ,
45
45
]);
46
46
$ this ->realizeAssertion ();
47
47
$ this ->clearGeneratedFiles ();
@@ -52,7 +52,7 @@ public function testUpdateWithLocaleOption(): void
52
52
self ::$ locale = config (App::class)->supportedLocales [0 ];
53
53
@mkdir (self ::$ languageTestPath . self ::$ locale , 0777 , true );
54
54
Services::commands ()->run ('lang:find ' , [
55
- 'dir ' => 'Services/ Translation ' ,
55
+ 'dir ' => 'Translation ' ,
56
56
'locale ' => self ::$ locale ,
57
57
]);
58
58
$ this ->realizeAssertion ();
@@ -64,7 +64,7 @@ public function testUpdateWithIncorrectLocaleOption(): void
64
64
self ::$ locale = 'test_locale_incorrect ' ;
65
65
@mkdir (self ::$ languageTestPath . self ::$ locale , 0777 , true );
66
66
$ status = Services::commands ()->run ('lang:find ' , [
67
- 'dir ' => 'Services/ Translation ' ,
67
+ 'dir ' => 'Translation ' ,
68
68
'locale ' => self ::$ locale ,
69
69
]);
70
70
$ this ->assertSame ($ status , -1 );
@@ -83,7 +83,7 @@ public function testUpdateWithIncorrectDirOption(): void
83
83
{
84
84
@mkdir (self ::$ languageTestPath . self ::$ locale , 0777 , true );
85
85
$ status = Services::commands ()->run ('lang:find ' , [
86
- 'dir ' => 'Services/ Translation/NotExistFolder ' ,
86
+ 'dir ' => 'Translation/NotExistFolder ' ,
87
87
]);
88
88
$ this ->assertSame ($ status , -1 );
89
89
$ this ->clearGeneratedFiles ();
@@ -93,7 +93,7 @@ public function testShowNewTranslation(): void
93
93
{
94
94
@mkdir (self ::$ languageTestPath . self ::$ locale , 0777 , true );
95
95
Services::commands ()->run ('lang:find ' , [
96
- 'dir ' => 'Services/ Translation ' ,
96
+ 'dir ' => 'Translation ' ,
97
97
'show-new ' => null ,
98
98
]);
99
99
$ this ->assertStringContainsString ($ this ->getActualTableWithNewKeys (), $ this ->getStreamFilterBuffer ());
0 commit comments