mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 17:16:18 +00:00
Fix mistakes.
This commit is contained in:
parent
72c3059d94
commit
8639d5af84
2 changed files with 1 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
||||||
<?
|
<?php
|
||||||
/**
|
/**
|
||||||
* IniAclTest file.
|
* IniAclTest file.
|
||||||
*
|
*
|
||||||
|
|
|
@ -127,9 +127,6 @@ abstract class CakeTestCase extends PHPUnit_Framework_TestCase {
|
||||||
if (empty($this->_configure)) {
|
if (empty($this->_configure)) {
|
||||||
$this->_configure = Configure::read();
|
$this->_configure = Configure::read();
|
||||||
}
|
}
|
||||||
if (empty($this->_configure['App'])) {
|
|
||||||
fwrite(STDERR, get_class($this) . '::' . $this->getName() . " did not have any configure vars\n");
|
|
||||||
}
|
|
||||||
if (empty($this->_pathRestore)) {
|
if (empty($this->_pathRestore)) {
|
||||||
$this->_pathRestore = App::paths();
|
$this->_pathRestore = App::paths();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue