mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Fixing translate behavior tests
This commit is contained in:
parent
caa29646ce
commit
3c6f85254c
1 changed files with 1 additions and 1 deletions
|
@ -432,7 +432,7 @@ class TranslateBehaviorTest extends CakeTestCase {
|
||||||
$this->assertEqual($result, $expected);
|
$this->assertEqual($result, $expected);
|
||||||
|
|
||||||
// MSSQL trigger an error and stops the page even if the debug = 0
|
// MSSQL trigger an error and stops the page even if the debug = 0
|
||||||
if ($this->db->config['driver'] != 'mssql') {
|
if ($this->db instanceof Mssql) {
|
||||||
$debug = Configure::read('debug');
|
$debug = Configure::read('debug');
|
||||||
Configure::write('debug', 0);
|
Configure::write('debug', 0);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue