File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
packages/framework/tests/Unit Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ public function testRegisterTaskWithoutChildExtensionThrowsException()
111111 public function testRegisterTaskWithBaseClassThrowsException ()
112112 {
113113 $ this ->expectException (TypeError::class);
114- $ this ->service ->registerTask (InstansiableTestBuildTask ::class);
114+ $ this ->service ->registerTask (InstantiableTestBuildTask ::class);
115115 }
116116
117117 public function testRegisterTaskWithAlreadyRegisteredTask ()
@@ -293,9 +293,9 @@ public function testServiceFindsTasksInAppDirectory()
293293 $ filesystem = Mockery::mock (Filesystem::class, [$ kernel ])->makePartial ()
294294 ->shouldReceive ('smartGlob ' )->once ()
295295 ->with ('app/Actions/*BuildTask.php ' , 0 )
296- ->andReturn (collect ([ /** TODO */ ] ))->getMock ();
296+ ->andReturn (collect ())->getMock ();
297297
298- // Inject mock into Kernel (No better way to do this at the moment)
298+ // Inject mock into Kernel
299299 (new ReflectionClass ($ kernel ))->getProperty ('filesystem ' )->setValue ($ kernel , $ filesystem );
300300
301301 $ this ->createService ();
@@ -322,7 +322,7 @@ protected function verifyMockeryExpectations(): void
322322 }
323323}
324324
325- class InstansiableTestBuildTask extends BuildTask
325+ class InstantiableTestBuildTask extends BuildTask
326326{
327327 public function handle (): void
328328 {
You can’t perform that action at this time.
0 commit comments