Skip to content

Commit 581c29e

Browse files
committed
fix bulk create test
1 parent 72d1724 commit 581c29e

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

tests/unit/collection/CollectionTest.php

-17
Original file line numberDiff line numberDiff line change
@@ -44,23 +44,6 @@ public function testCache() {
4444
$this->assertTrue($first_item[0]->name == "Cached");
4545
}
4646

47-
public function testBulkCreate() {
48-
// $items = App::collection('names')->create(array(
49-
// array(
50-
// 'name' => "Bulk 1",
51-
// 'number' => 1,
52-
// 'double' => 1.1
53-
// ),
54-
// array(
55-
// 'name' => "Bulk 2",
56-
// 'number' => 2,
57-
// 'double' => 2.2
58-
// )
59-
// ));
60-
//
61-
// $this->assertTrue(count($items) == 2);
62-
}
63-
6447
public function testBulkCreate() {
6548
$models = App::collection('my_items')->create(array(
6649
array('name' => "One"),

0 commit comments

Comments
 (0)