Skip to content

Commit

Permalink
Fix flaky test. SimpleTest is the worst.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Oct 22, 2011
1 parent c66fe39 commit fcc0aa4
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -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.

}

/**
Expand Down

0 comments on commit fcc0aa4

Please sign in to comment.