mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 00:48:25 +00:00
Udatint TestTask test
This commit is contained in:
parent
9293361562
commit
a1f5fe706a
1 changed files with 2 additions and 2 deletions
|
@ -437,7 +437,7 @@ class TestTaskTest extends CakeTestCase {
|
|||
|
||||
$result = $this->Task->bake('Model', 'TestTaskArticle');
|
||||
|
||||
$this->assertContains("App::import('Model', 'TestTaskArticle')", $result);
|
||||
$this->assertContains("App::uses('TestTaskArticle', 'Model')", $result);
|
||||
$this->assertContains('class TestTaskArticleTestCase extends CakeTestCase', $result);
|
||||
|
||||
$this->assertContains('function setUp()', $result);
|
||||
|
@ -468,7 +468,7 @@ class TestTaskTest extends CakeTestCase {
|
|||
|
||||
$result = $this->Task->bake('Controller', 'TestTaskComments');
|
||||
|
||||
$this->assertContains("App::import('Controller', 'TestTaskComments')", $result);
|
||||
$this->assertContains("App::uses('TestTaskCommentsController', 'Controller')", $result);
|
||||
$this->assertContains('class TestTaskCommentsControllerTestCase extends CakeTestCase', $result);
|
||||
|
||||
$this->assertContains('class TestTestTaskCommentsController extends TestTaskCommentsController', $result);
|
||||
|
|
Loading…
Add table
Reference in a new issue