diff --git a/cake/tests/cases/libs/model/model_read.test.php b/cake/tests/cases/libs/model/model_read.test.php index 040ecab19..05bdc7a8a 100755 --- a/cake/tests/cases/libs/model/model_read.test.php +++ b/cake/tests/cases/libs/model/model_read.test.php @@ -4865,9 +4865,6 @@ class ModelReadTest extends BaseModelTest { $this->assertEqual(3, count($TestModel->find('all'))); $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'))); }