mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 17:16:18 +00:00
Removing workaround code for PHP 5.3.0. Error is no longer being generated in PHP 5.3.1
This commit is contained in:
parent
1f25bb31c0
commit
0960abcfb9
1 changed files with 0 additions and 3 deletions
|
@ -4865,9 +4865,6 @@ class ModelReadTest extends BaseModelTest {
|
||||||
$this->assertEqual(3, count($TestModel->find('all')));
|
$this->assertEqual(3, count($TestModel->find('all')));
|
||||||
|
|
||||||
$this->expectError(new PatternExpectation('/Non-existent data source foo/i'));
|
$this->expectError(new PatternExpectation('/Non-existent data source foo/i'));
|
||||||
if (defined('PHP_VERSION_ID') && PHP_VERSION_ID >= 50300) {
|
|
||||||
$this->expectError(new PatternExpectation('/Only variable references/i'));
|
|
||||||
}
|
|
||||||
$this->assertFalse($TestModel->find('all', array('connection' => 'foo')));
|
$this->assertFalse($TestModel->find('all', array('connection' => 'foo')));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue