Skip to content
This repository
Browse code

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

…rated in PHP 5.3.1
  • Loading branch information...
commit 0960abcfb9b99cb51a9f3d04f50693d0d5747eb9 1 parent 1f25bb3
Mark Story authored February 27, 2010
3  cake/tests/cases/libs/model/model_read.test.php
@@ -4865,9 +4865,6 @@ function testCallbackSourceChange() {
4865 4865
 		$this->assertEqual(3, count($TestModel->find('all')));
4866 4866
 
4867 4867
 		$this->expectError(new PatternExpectation('/Non-existent data source foo/i'));
4868  
-		if (defined('PHP_VERSION_ID') && PHP_VERSION_ID >= 50300) {
4869  
-			$this->expectError(new PatternExpectation('/Only variable references/i'));
4870  
-		}
4871 4868
 		$this->assertFalse($TestModel->find('all', array('connection' => 'foo')));
4872 4869
 	}
4873 4870
 

0 notes on commit 0960abc

Please sign in to comment.
Something went wrong with that request. Please try again.