Permalink
Browse files

Fixed formaiing and Successfully

  • Loading branch information...
1 parent 2a27b37 commit 39f9d40be4e74b8b9c28e79614908c9b20ef8174 @k-halaburda k-halaburda committed Aug 18, 2013
Showing with 22 additions and 24 deletions.
  1. +22 −24 lib/Cake/Test/Case/Model/ModelReadTest.php
@@ -7990,8 +7990,7 @@ public function testRelatedAfterFindCallback() {
'foreignKey' => 'something_id'
)
)
- )
- );
+ ));
$results = $Something->find('all');
@@ -8012,7 +8011,7 @@ public function testRelatedAfterFindCallback() {
'doomed' => true,
'created' => '2007-03-18 10:39:23',
'updated' => '2007-03-18 10:41:31',
- 'afterFind' => 'Successfuly added by AfterFind'
+ 'afterFind' => 'Successfully added by AfterFind'
),
'HasMany' => array(
array(
@@ -8022,7 +8021,7 @@ public function testRelatedAfterFindCallback() {
'doomed' => true,
'created' => '2007-03-18 10:39:23',
'updated' => '2007-03-18 10:41:31',
- 'afterFind' => 'Successfuly added by AfterFind'
+ 'afterFind' => 'Successfully added by AfterFind'
)
),
'SomethingElse' => array(
@@ -8033,12 +8032,12 @@ public function testRelatedAfterFindCallback() {
'published' => 'Y',
'created' => '2007-03-18 10:41:23',
'updated' => '2007-03-18 10:43:31',
- 'afterFind' => 'Successfuly added by AfterFind',
+ 'afterFind' => 'Successfully added by AfterFind',
'JoinThing' => array(
'doomed' => true,
'something_id' => '1',
'something_else_id' => '2',
- 'afterFind' => 'Successfuly added by AfterFind'
+ 'afterFind' => 'Successfully added by AfterFind'
)
)
)
@@ -8059,7 +8058,7 @@ public function testRelatedAfterFindCallback() {
'doomed' => false,
'created' => '2007-03-18 10:41:23',
'updated' => '2007-03-18 10:43:31',
- 'afterFind' => 'Successfuly added by AfterFind'
+ 'afterFind' => 'Successfully added by AfterFind'
),
'HasMany' => array(
array(
@@ -8069,7 +8068,7 @@ public function testRelatedAfterFindCallback() {
'doomed' => false,
'created' => '2007-03-18 10:41:23',
'updated' => '2007-03-18 10:43:31',
- 'afterFind' => 'Successfuly added by AfterFind'
+ 'afterFind' => 'Successfully added by AfterFind'
)
),
'SomethingElse' => array(
@@ -8080,12 +8079,12 @@ public function testRelatedAfterFindCallback() {
'published' => 'Y',
'created' => '2007-03-18 10:43:23',
'updated' => '2007-03-18 10:45:31',
- 'afterFind' => 'Successfuly added by AfterFind',
+ 'afterFind' => 'Successfully added by AfterFind',
'JoinThing' => array(
'doomed' => false,
'something_id' => '2',
'something_else_id' => '3',
- 'afterFind' => 'Successfuly added by AfterFind'
+ 'afterFind' => 'Successfully added by AfterFind'
)
)
)
@@ -8106,7 +8105,7 @@ public function testRelatedAfterFindCallback() {
'doomed' => true,
'created' => '2007-03-18 10:43:23',
'updated' => '2007-03-18 10:45:31',
- 'afterFind' => 'Successfuly added by AfterFind'
+ 'afterFind' => 'Successfully added by AfterFind'
),
'HasMany' => array(
array(
@@ -8116,7 +8115,7 @@ public function testRelatedAfterFindCallback() {
'doomed' => true,
'created' => '2007-03-18 10:43:23',
'updated' => '2007-03-18 10:45:31',
- 'afterFind' => 'Successfuly added by AfterFind'
+ 'afterFind' => 'Successfully added by AfterFind'
)
),
'SomethingElse' => array(
@@ -8127,26 +8126,25 @@ public function testRelatedAfterFindCallback() {
'published' => 'Y',
'created' => '2007-03-18 10:39:23',
'updated' => '2007-03-18 10:41:31',
- 'afterFind' => 'Successfuly added by AfterFind',
+ 'afterFind' => 'Successfully added by AfterFind',
'JoinThing' => array(
'doomed' => true,
'something_id' => '3',
'something_else_id' => '1',
- 'afterFind' => 'Successfuly added by AfterFind'
+ 'afterFind' => 'Successfully added by AfterFind'
)
)
)
)
);
- $this->assertEquals($expected, $results, 'Model related with has* afterFind callback fail');
+ $this->assertEquals($expected, $results, 'Model related with has* afterFind callback fails');
$JoinThing = new JoinThing();
$JoinThing->unbindModel(array(
'belongsTo' => array(
'Something'
)
- )
- );
+ ));
$results = $JoinThing->find('all');
$expected = array(
@@ -8158,7 +8156,7 @@ public function testRelatedAfterFindCallback() {
'doomed' => true,
'created' => '2007-03-18 10:39:23',
'updated' => '2007-03-18 10:41:31',
- 'afterFind' => 'Successfuly added by AfterFind'
+ 'afterFind' => 'Successfully added by AfterFind'
),
'SomethingElse' => array(
'id' => '2',
@@ -8167,7 +8165,7 @@ public function testRelatedAfterFindCallback() {
'published' => 'Y',
'created' => '2007-03-18 10:41:23',
'updated' => '2007-03-18 10:43:31',
- 'afterFind' => 'Successfuly added by AfterFind'
+ 'afterFind' => 'Successfully added by AfterFind'
)
),
array(
@@ -8178,7 +8176,7 @@ public function testRelatedAfterFindCallback() {
'doomed' => false,
'created' => '2007-03-18 10:41:23',
'updated' => '2007-03-18 10:43:31',
- 'afterFind' => 'Successfuly added by AfterFind'
+ 'afterFind' => 'Successfully added by AfterFind'
),
'SomethingElse' => array(
'id' => '3',
@@ -8187,7 +8185,7 @@ public function testRelatedAfterFindCallback() {
'published' => 'Y',
'created' => '2007-03-18 10:43:23',
'updated' => '2007-03-18 10:45:31',
- 'afterFind' => 'Successfuly added by AfterFind'
+ 'afterFind' => 'Successfully added by AfterFind'
)
),
array(
@@ -8198,7 +8196,7 @@ public function testRelatedAfterFindCallback() {
'doomed' => true,
'created' => '2007-03-18 10:43:23',
'updated' => '2007-03-18 10:45:31',
- 'afterFind' => 'Successfuly added by AfterFind'
+ 'afterFind' => 'Successfully added by AfterFind'
),
'SomethingElse' => array(
'id' => '1',
@@ -8207,10 +8205,10 @@ public function testRelatedAfterFindCallback() {
'published' => 'Y',
'created' => '2007-03-18 10:39:23',
'updated' => '2007-03-18 10:41:31',
- 'afterFind' => 'Successfuly added by AfterFind'
+ 'afterFind' => 'Successfully added by AfterFind'
)
)
);
- $this->assertEquals($expected, $results, 'Model related with belongsTo afterFind callback fail');
+ $this->assertEquals($expected, $results, 'Model related with belongsTo afterFind callback fails');
}
}

0 comments on commit 39f9d40

Please sign in to comment.