File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 7
7
use Smart \Sage50 \Config ;
8
8
use Smart \Sage50 \Doctrine \Doctrine ;
9
9
use Smart \Sage50 \Invoice \InvoiceEntity ;
10
- use Smart \Sage50 \Invoice \ItemTax \ItemTaxEntity ;
11
- use Smart \Sage50 \Invoice \TotalTaxes \TotalTaxesEntity ;
10
+ use Smart \Sage50 \Invoice \InvoiceLookup \ ItemTax \ItemTaxEntity ;
11
+ use Smart \Sage50 \Invoice \InvoiceLookup \ TotalTaxes \TotalTaxesEntity ;
12
12
13
13
class InvoiceRepositoryTest extends PHPUnit_Framework_TestCase
14
14
{
@@ -53,9 +53,9 @@ public function testFetchItems()
53
53
/** @var InvoiceEntity $invoice */
54
54
$ invoice = $ result [0 ];
55
55
56
- $ this ->assertInstanceOf (TotalTaxesEntity::class, $ invoice ->getTotalTaxes ());
56
+ $ this ->assertInstanceOf (TotalTaxesEntity::class, $ invoice ->getInvoiceLookup ()-> getTotalTaxes ());
57
57
58
- $ this ->assertGreaterThanOrEqual (1 , count ($ invoice ->getItems ()));
59
- $ this ->assertInstanceOf (ItemTaxEntity::class, $ invoice ->getItems ()[0 ]->getTax ());
58
+ $ this ->assertGreaterThanOrEqual (1 , count ($ invoice ->getInvoiceLookup ()-> getItems ()));
59
+ $ this ->assertInstanceOf (ItemTaxEntity::class, $ invoice ->getInvoiceLookup ()-> getItems ()[0 ]->getTax ());
60
60
}
61
61
}
You can’t perform that action at this time.
0 commit comments