File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -45,8 +45,9 @@ public function testOutput()
45
45
$ getopt = Phake::mock (Context \Getopt::class);
46
46
Phake::when ($ getopt )->get (1 )->thenReturn ($ yamlPath . 'project.yaml ' );
47
47
Phake::when ($ getopt )->get (2 )->thenReturn ($ yamlPath . 'project-build.yaml ' );
48
- Phake::when ($ getopt )->get (3 )->thenReturn ($ this ->temporaryDirectory );
49
- Phake::when ($ getopt )->get (4 )->thenReturn (null );
48
+ Phake::when ($ getopt )->get (3 )->thenReturn ($ yamlPath . 'project-config.yaml ' );
49
+ Phake::when ($ getopt )->get (4 )->thenReturn ($ this ->temporaryDirectory );
50
+ Phake::when ($ getopt )->get (5 )->thenReturn (null );
50
51
Phake::when ($ context )->getopt ([])->thenReturn ($ getopt );
51
52
(new ResourceGenerator ($ context , $ stdio ))->run ();
52
53
$ objects = new RecursiveIteratorIterator (new RecursiveDirectoryIterator ($ resourcesPath ), RecursiveIteratorIterator::SELF_FIRST );
You can’t perform that action at this time.
0 commit comments