Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Don't use comp. wrappers anymore.

  • Loading branch information...
commit 9844da8e9995ff3ae96a8c547c6c25788d82ac68 1 parent bb4716a
@dereuromark dereuromark authored
View
2  lib/Cake/Test/Case/Model/CakeSchemaTest.php
@@ -703,7 +703,7 @@ public function testGenerateTable() {
);
$result = $this->Schema->generateTable('fields', $posts);
$this->assertRegExp('/public \$fields/', $result);
- $this->assertPattern('/\'type\' \=\> \'fulltext\'/', $result);
+ $this->assertRegExp('/\'type\' \=\> \'fulltext\'/', $result);
}
/**
View
2  lib/Cake/Test/Case/Model/ModelCrossSchemaHabtmTest.php
@@ -147,7 +147,7 @@ public function testHabtmSave() {
));
$results = $Player->saveAll($player, array('validate' => 'first'));
- $this->assertNotEqual(false, $results);
+ $this->assertNotSame(false, $results);
$count = $Player->find('count');
$this->assertEquals(5, $count);
View
2  lib/Cake/Test/Case/View/Helper/FormHelperTest.php
@@ -9312,7 +9312,7 @@ public function testInputDefaults() {
'div' => false,
'label' => false,
);
- $this->assertEqual($result, $expected);
+ $this->assertEquals($expected, $result);
}
}
View
2  lib/Cake/Test/Case/View/Helper/PaginatorHelperTest.php
@@ -2233,7 +2233,7 @@ public function testParams() {
*/
public function testParam() {
$result = $this->Paginator->param('count');
- $this->assertIdentical(62, $result);
+ $this->assertSame(62, $result);
$result = $this->Paginator->param('imaginary');
$this->assertNull($result);
View
2  lib/Cake/Test/Case/View/ViewTest.php
@@ -1388,7 +1388,7 @@ public function testBlockSetObjectWithoutToString() {
public function testBlockSetDecimal() {
$this->View->assign('testWithDecimal', 1.23456789);
$result = $this->View->fetch('testWithDecimal');
- $this->assertEqual('1.23456789', $result);
+ $this->assertEquals('1.23456789', $result);
}
/**
View
2  lib/Cake/Test/Fixture/AssertTagsTestCase.php
@@ -1,6 +1,6 @@
<?php
/**
- * This class helpes in indirectly testing the functionaliteies of CakeTestCase::assertTags
+ * This class helpes in indirectly testing the functionalities of CakeTestCase::assertTags
*
* @package Cake.Test.Fixture
*/
Please sign in to comment.
Something went wrong with that request. Please try again.