mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 11:06:15 +00:00
Merge pull request #2440 from beporter/feature/bake-test-marktestincomplete
Baked test methods are marked incomplete. Fixes #2437
This commit is contained in:
commit
7cd370e745
2 changed files with 3 additions and 0 deletions
|
@ -75,6 +75,7 @@ class <?php echo $fullClassName; ?>Test extends CakeTestCase {
|
|||
* @return void
|
||||
*/
|
||||
public function test<?php echo Inflector::camelize($method); ?>() {
|
||||
$this->markTestIncomplete('test<?php echo Inflector::camelize($method); ?> not implemented.');
|
||||
}
|
||||
|
||||
<?php endforeach; ?>
|
||||
|
|
|
@ -413,6 +413,8 @@ class TestTaskTest extends CakeTestCase {
|
|||
|
||||
$this->assertContains('function testDoSomething()', $result);
|
||||
$this->assertContains('function testDoSomethingElse()', $result);
|
||||
$this->assertContains('$this->markTestIncomplete(\'testDoSomething not implemented.\')', $result);
|
||||
$this->assertContains('$this->markTestIncomplete(\'testDoSomethingElse not implemented.\')', $result);
|
||||
|
||||
$this->assertContains("'app.test_task_article'", $result);
|
||||
$this->assertContains("'app.test_task_comment'", $result);
|
||||
|
|
Loading…
Add table
Reference in a new issue