mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
Removing test method for testing inclusion of "test groups", as we're dropping supoort in TestManager to load groups in favor of composing test suites in phpunit
This commit is contained in:
parent
10c0494b92
commit
bd02a2b2b6
1 changed files with 0 additions and 17 deletions
|
@ -122,23 +122,6 @@ class TestManagerTest extends CakeTestCase {
|
|||
$this->assertType('PHPUnit_Framework_TestResult', $result);
|
||||
}
|
||||
|
||||
/**
|
||||
* testRunGroupTest method
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function testRunGroupTest() {
|
||||
$groups = $this->_getAllTestFiles(CORE_TEST_GROUPS, 'group');
|
||||
if (empty($groups)) {
|
||||
$this->markTestSkipped('No test group files');
|
||||
return;
|
||||
}
|
||||
list($groupFile,) = explode('.', array_pop($groups), 2);
|
||||
$result = $this->TestManager->runGroupTest($groupFile, $this->Reporter);
|
||||
$this->assertGreaterThan(0, $this->_countFiles);
|
||||
$this->assertType('PHPUnit_Framework_TestResult', $result);
|
||||
}
|
||||
|
||||
/**
|
||||
* testAddTestCasesFromDirectory method
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue