Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

allow the Product to be set when an Item is constructed

  • Loading branch information...
commit c159dc5d525b5a59e56253de72a3a05906f82031 1 parent 2df6178
@iampersistent iampersistent authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  tests/Entity/Order/ItemTest.php
View
2  tests/Entity/Order/ItemTest.php
@@ -54,7 +54,7 @@ public function testOptionMethods()
$this->assertEmpty($item->getOptions());
$rmSetProduct->invokeArgs($item, array($this->createProductOptionValidate(false)));
- $this->setExpectedException('Vespolina\Entity\Exception\InvalidOptionsException');
+ $this->setExpectedException('Vespolina\Exception\InvalidOptionsException');
$rmSetOptions->invokeArgs($item, array('failure' => 0));
$this->assertEmpty($item->getOptions(), 'nothing should be added if the validation fails');
}
Please sign in to comment.
Something went wrong with that request. Please try again.