Skip to content

Commit a79726e

Browse files
committed
Switching to Laravel 4.1
1 parent e6f1a57 commit a79726e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/QueryBuilderTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -265,10 +265,10 @@ public function testDistinct()
265265
));
266266

267267
$items = DB::collection('items')->distinct('name')->get();
268-
$this->assertEquals(3, count($items));
268+
$this->assertEquals(array('knife', 'fork', 'spoon'), $items);
269269

270270
$types = DB::collection('items')->distinct('type')->get();
271-
$this->assertEquals(2, count($types));
271+
$this->assertEquals(array('sharp', 'round'), $types);
272272
}
273273

274274
public function testCustomId()

0 commit comments

Comments
 (0)