@@ -110,6 +110,7 @@ public function testExecuteWhenRevisionsAreProvidedAsOptions() : void
110
110
$ toSha = sha1 ('toRevision ' , false );
111
111
112
112
$ this ->input ->expects (self ::any ())->method ('hasOption ' )->willReturn (true );
113
+ $ this ->input ->expects (self ::any ())->method ('hasParameterOption ' )->willReturn (true );
113
114
$ this ->input ->expects (self ::any ())->method ('getOption ' )->willReturnMap ([
114
115
['from ' , $ fromSha ],
115
116
['to ' , $ toSha ],
@@ -160,6 +161,7 @@ public function testExecuteReturnsNonZeroExitCodeWhenChangesAreDetected() : void
160
161
$ toSha = sha1 ('toRevision ' , false );
161
162
162
163
$ this ->input ->expects (self ::any ())->method ('hasOption ' )->willReturn (true );
164
+ $ this ->input ->expects (self ::any ())->method ('hasParameterOption ' )->willReturn (true );
163
165
$ this ->input ->expects (self ::any ())->method ('getOption ' )->willReturnMap ([
164
166
['from ' , $ fromSha ],
165
167
['to ' , $ toSha ],
@@ -222,6 +224,7 @@ public function testProvidingMarkdownOptionWritesMarkdownOutput() : void
222
224
$ toSha = sha1 ('toRevision ' , false );
223
225
224
226
$ this ->input ->expects (self ::any ())->method ('hasOption ' )->willReturn (true );
227
+ $ this ->input ->expects (self ::any ())->method ('hasParameterOption ' )->willReturn (true );
225
228
$ this ->input ->expects (self ::any ())->method ('getOption ' )->willReturnMap ([
226
229
['from ' , $ fromSha ],
227
230
['to ' , $ toSha ],
@@ -349,6 +352,7 @@ public function testExecuteFailsIfCheckedOutRepositoryDoesNotExist() : void
349
352
$ toSha = sha1 ('toRevision ' , false );
350
353
351
354
$ this ->input ->expects (self ::any ())->method ('hasOption ' )->willReturn (true );
355
+ $ this ->input ->expects (self ::any ())->method ('hasParameterOption ' )->willReturn (true );
352
356
$ this ->input ->expects (self ::any ())->method ('getOption ' )->willReturnMap ([
353
357
['from ' , $ fromSha ],
354
358
['to ' , $ toSha ],
0 commit comments