@@ -284,7 +284,7 @@ public static function refreshWithoutCacheWithOutputDataProvider()
284
284
285
285
public function testRefreshWithoutCacheWithoutOutput (ConsoleIO $ io = null , ProgressBar $ database_progress_bar = null , $ is_verbose = false )
286
286
{
287
- $ this ->repositoryConnector ->getLastRevision ('svn://localhost ' )->willReturn (400 )->shouldBeCalled ();
287
+ $ this ->repositoryConnector ->getLastRevision ('svn://localhost ' )->willReturn (1000 )->shouldBeCalled ();
288
288
289
289
// Create revision log (part 1).
290
290
$ revision_log = $ this ->createRevisionLog ('svn://localhost/projects/project-name/trunk ' , $ io );
@@ -300,9 +300,9 @@ public function testRefreshWithoutCacheWithoutOutput(ConsoleIO $io = null, Progr
300
300
->willReturn (array (RevisionLog::FLAG_MERGE_HISTORY , RevisionLog::FLAG_VERBOSE ))
301
301
->shouldBeCalled ();
302
302
303
- $ repository_collector_plugin ->parse (new SimpleXMLElementToken ($ this ->expectSvnLogQuery (0 , 199 )))->shouldBeCalled ();
304
- $ repository_collector_plugin ->parse (new SimpleXMLElementToken ($ this ->expectSvnLogQuery (200 , 399 )))->shouldBeCalled ();
305
- $ repository_collector_plugin ->parse (new SimpleXMLElementToken ($ this ->expectSvnLogQuery (400 , 400 )))->shouldBeCalled ();
303
+ $ repository_collector_plugin ->parse (new SimpleXMLElementToken ($ this ->expectSvnLogQuery (0 , 499 )))->shouldBeCalled ();
304
+ $ repository_collector_plugin ->parse (new SimpleXMLElementToken ($ this ->expectSvnLogQuery (500 , 999 )))->shouldBeCalled ();
305
+ $ repository_collector_plugin ->parse (new SimpleXMLElementToken ($ this ->expectSvnLogQuery (1000 , 1000 )))->shouldBeCalled ();
306
306
307
307
if ( $ is_verbose ) {
308
308
$ repository_collector_plugin ->getStatistics ()->willReturn (array ('rp1 ' => 10 , 'rp2 ' => 20 ))->shouldBeCalled ();
@@ -317,7 +317,7 @@ public function testRefreshWithoutCacheWithoutOutput(ConsoleIO $io = null, Progr
317
317
$ database_collector_plugin ->whenDatabaseReady ()->shouldBeCalled ();
318
318
$ database_collector_plugin ->getLastRevision ()->willReturn (0 )->shouldBeCalled ();
319
319
$ database_collector_plugin
320
- ->process (0 , 400 , $ database_progress_bar )
320
+ ->process (0 , 1000 , $ database_progress_bar )
321
321
->will (function (array $ args ) {
322
322
if ( isset ($ args [2 ]) ) {
323
323
$ args [2 ]->advance ();
0 commit comments