Skip to content

Commit

Permalink
Don't use comp. wrappers anymore.
Browse files Browse the repository at this point in the history
  • Loading branch information
euromark committed Sep 25, 2013
1 parent bb4716a commit 9844da8
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion lib/Cake/Test/Case/Model/CakeSchemaTest.php
Expand Up @@ -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);
}

/**
Expand Down
2 changes: 1 addition & 1 deletion lib/Cake/Test/Case/Model/ModelCrossSchemaHabtmTest.php
Expand Up @@ -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);

Expand Down
2 changes: 1 addition & 1 deletion lib/Cake/Test/Case/View/Helper/FormHelperTest.php
Expand Up @@ -9312,7 +9312,7 @@ public function testInputDefaults() {
'div' => false,
'label' => false,
);
$this->assertEqual($result, $expected);
$this->assertEquals($expected, $result);
}

}
2 changes: 1 addition & 1 deletion lib/Cake/Test/Case/View/Helper/PaginatorHelperTest.php
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion lib/Cake/Test/Case/View/ViewTest.php
Expand Up @@ -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);
}

/**
Expand Down
2 changes: 1 addition & 1 deletion 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
*/
Expand Down

0 comments on commit 9844da8

Please sign in to comment.