Skip to content

Commit

Permalink
Rename conJoin() to conjoin()
Browse files Browse the repository at this point in the history
  • Loading branch information
mikebronner authored May 25, 2017
1 parent 1ee528b commit 963f778
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/Support/SupportCollectionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -1740,9 +1740,9 @@ public function testConJoinWithArray()
];

$collection = new Collection([4, 5, 6]);
$collection = $collection->conJoin(['a', 'b', 'c']);
$collection = $collection->conJoin(['who' => 'Jonny', 'preposition' => 'from', 'where' => 'Laroe']);
$actual = $collection->conJoin(['who' => 'Jonny', 'preposition' => 'from', 'where' => 'Laroe'])->toArray();
$collection = $collection->conjoin(['a', 'b', 'c']);
$collection = $collection->conjoin(['who' => 'Jonny', 'preposition' => 'from', 'where' => 'Laroe']);
$actual = $collection->conjoin(['who' => 'Jonny', 'preposition' => 'from', 'where' => 'Laroe'])->toArray();

$this->assertSame($expected, $actual);
}
Expand All @@ -1767,9 +1767,9 @@ public function testConJoinWithCollection()
$firstCollection = new Collection([4, 5, 6]);
$secondCollection = new Collection(['a', 'b', 'c']);
$thirdCollection = new Collection(['who' => 'Jonny', 'preposition' => 'from', 'where' => 'Laroe']);
$firstCollection = $firstCollection->conJoin($secondCollection);
$firstCollection = $firstCollection->conJoin($thirdCollection);
$actual = $firstCollection->conJoin($thirdCollection)->toArray();
$firstCollection = $firstCollection->conjoin($secondCollection);
$firstCollection = $firstCollection->conjoin($thirdCollection);
$actual = $firstCollection->conjoin($thirdCollection)->toArray();

$this->assertSame($expected, $actual);
}
Expand Down

0 comments on commit 963f778

Please sign in to comment.