Skip to content
Permalink
Browse files

Fix flaky test. SimpleTest is the worst.

  • Loading branch information...
markstory committed Oct 22, 2011
1 parent c66fe39 commit fcc0aa40db6125db044aa20d16e7d59048213e89
Showing with 1 addition and 1 deletion.
  1. +1 −1 cake/tests/cases/libs/model/datasources/dbo/dbo_postgres.test.php
@@ -830,7 +830,7 @@ function testVirtualFieldAsAConstant() {
$result = $Article->find('first');
$this->assertNull($result['Article']['empty']);
$this->assertTrue($result['Article']['truth']);
$this->assertEqual(42, $result['Article']['number']);
$this->assertIdentical('43', $result['Article']['number']);

This comment has been minimized.

Copy link
@lorenzo

lorenzo Oct 22, 2011

Member

WTF??? it is indeed the worst

This comment has been minimized.

Copy link
@markstory

markstory Oct 22, 2011

Author Member

Yeah assertEqual(42, '43') passes. Pretty ridiculous, I'm glad we're done with SimpleTest.

}
/**

0 comments on commit fcc0aa4

Please sign in to comment.
You can’t perform that action at this time.