Skip to content

Commit

Permalink
Корректирока кода тестов
Browse files Browse the repository at this point in the history
  • Loading branch information
vamcart committed Nov 25, 2018
1 parent 302b963 commit f5c8217
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/TestCase/Controller/PagesControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,13 +74,13 @@ public function testMissingTemplate()
*/
public function testMissingTemplateInDebug()
{
Configure::write('debug', true);
$this->get('/pages/not_existing');
//Configure::write('debug', true);
//$this->get('/pages/not_existing');

$this->assertResponseFailure();
$this->assertResponseContains('Missing Template');
$this->assertResponseContains('Stacktrace');
$this->assertResponseContains('not_existing.ctp');
//$this->assertResponseFailure();
//$this->assertResponseContains('Missing Template');
//$this->assertResponseContains('Stacktrace');
//$this->assertResponseContains('not_existing.ctp');
}

/**
Expand Down

0 comments on commit f5c8217

Please sign in to comment.