mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
Fixing basics.php test for phpunit.
This commit is contained in:
parent
d27381f3a2
commit
255d0c9d4f
1 changed files with 2 additions and 2 deletions
|
@ -152,7 +152,7 @@ class BasicsTest extends CakeTestCase {
|
|||
|
||||
$_SERVER = $_ENV = array();
|
||||
|
||||
$this->assertFalse(env('TEST_ME'));
|
||||
$this->assertNull(env('TEST_ME'));
|
||||
|
||||
$_ENV['TEST_ME'] = 'a';
|
||||
$this->assertEqual(env('TEST_ME'), 'a');
|
||||
|
@ -237,7 +237,7 @@ class BasicsTest extends CakeTestCase {
|
|||
|
||||
Configure::write('Cache.disable', false);
|
||||
$result = cache('basics_test', 'simple cache write');
|
||||
$this->assertTrue($result);
|
||||
$this->assertTrue((boolean)$result);
|
||||
$this->assertTrue(file_exists(CACHE . 'basics_test'));
|
||||
|
||||
$result = cache('basics_test');
|
||||
|
|
Loading…
Reference in a new issue