Skip to content

Commit

Permalink
improve tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mvorisek committed Apr 10, 2021
1 parent 822a7c6 commit c95b913
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/ConditionSqlTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ public function testDateCondition2()
$m->addField('date', ['type' => 'date']);

$m->addCondition('date', new \DateTime('08-12-1982'));
$m->loadAny();
$m->loadOne();
$this->assertSame('Sue', $m->get('name'));
}

Expand Down
2 changes: 1 addition & 1 deletion tests/DeepCopyTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ public function testBasic()
['name' => 'tools', 'qty' => 5, 'price' => 10],
['name' => 'work', 'qty' => 1, 'price' => 40],
]]);
$quote->loadAny();
$quote->loadOne();

// total price should match
$this->assertEquals(90.00, $quote->get('total'));
Expand Down

0 comments on commit c95b913

Please sign in to comment.