Skip to content

Commit fae4b69

Browse files
author
Alexander Obuhovich
committed
Bumping up PHPUnit dependency to 4.x and updating test suite to pass
1 parent 4498ca0 commit fae4b69

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"behat/mink-selenium2-driver": "~1.1@dev",
1919
"symfony/event-dispatcher": "~2.4",
2020
"pimple/pimple": "~2.0@dev",
21-
"phpunit/phpunit": "3.7.*"
21+
"phpunit/phpunit": "~4.0"
2222
},
2323

2424
"require-dev": {

tests/aik099/PHPUnit/Integration/SuiteBuildingTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,10 +100,13 @@ protected function createTestSuite($class_name)
100100
$suite->shouldReceive('getGroups')->once()->andReturn(array());
101101
$suite->shouldReceive('setBackupGlobals')->andReturnNull();
102102
$suite->shouldReceive('setBackupStaticAttributes')->andReturnNull();
103+
$suite->shouldReceive('setRunTestInSeparateProcess')->andReturnNull();
103104

104105
$suite->shouldReceive('run')->once()->andReturnNull();
105106
$suite->shouldReceive('onTestSuiteEnded')->once()->andReturnNull();
106107

108+
$suite->shouldReceive('count')->once()->andReturn(1);
109+
107110
return $suite;
108111
}
109112

0 commit comments

Comments
 (0)