Skip to content
Permalink
Browse files

Adding compatibility method assertNotIdentical

  • Loading branch information...
lorenzo committed Jun 5, 2010
1 parent d04278c commit d573be16c5c6dae62671e74f83422dc78bed2708
Showing with 10 additions and 0 deletions.
  1. +10 −0 cake/tests/lib/cake_test_case.php
@@ -427,6 +427,16 @@ protected function assertIdentical($expected, $actual, $message = '') {
}
/**
* Compatibility wrapper function for assertNotEquals
* @param mixed $expected
* @param mixed $actual
* @param string $message the text to display if the assertion is not correct
* @return void
*/
protected function assertNotIdentical($expected, $actual, $message = '') {
return $this->assertNotEquals($expected, $actual, $message);
}
/**
* Compatibility wrapper function for assertNotRegExp
* @param mixed $pattern a regular expression
* @param string $string the text to be matched

0 comments on commit d573be1

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