Permalink
Browse files

Removing workaround code for PHP 5.3.0. Error is no longer being gene…

…rated in PHP 5.3.1
  • Loading branch information...
1 parent 1f25bb3 commit 0960abcfb9b99cb51a9f3d04f50693d0d5747eb9 @markstory markstory committed Feb 27, 2010
Showing with 0 additions and 3 deletions.
  1. +0 −3 cake/tests/cases/libs/model/model_read.test.php
@@ -4865,9 +4865,6 @@ function testCallbackSourceChange() {
$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')));
}

0 comments on commit 0960abc

Please sign in to comment.