mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-12-23 22:17:26 +00:00
Removing debug() from test case.
This commit is contained in:
parent
a1124e36aa
commit
75e98387e7
1 changed files with 0 additions and 2 deletions
|
@ -333,8 +333,6 @@ class ControllerTaskTest extends CakeTestCase {
|
||||||
$this->assertTrue(strpos($result, 'if ($this->Article->delete($id))') !== false);
|
$this->assertTrue(strpos($result, 'if ($this->Article->delete($id))') !== false);
|
||||||
$this->assertTrue(strpos($result, "\$this->Session->setFlash(sprintf(__('%s deleted', true), 'Article'));") !== false);
|
$this->assertTrue(strpos($result, "\$this->Session->setFlash(sprintf(__('%s deleted', true), 'Article'));") !== false);
|
||||||
|
|
||||||
debug($result, true);
|
|
||||||
|
|
||||||
$result = $this->Task->bakeActions('Articles', 'admin_', true);
|
$result = $this->Task->bakeActions('Articles', 'admin_', true);
|
||||||
|
|
||||||
$this->assertTrue(strpos($result, 'function admin_index() {') !== false);
|
$this->assertTrue(strpos($result, 'function admin_index() {') !== false);
|
||||||
|
|
Loading…
Reference in a new issue