Fixed testsuite

This commit is contained in:
Rob Gloudemans
2017-05-20 21:52:06 +02:00
parent 195cc095f5
commit ce6f0a8d85
3 changed files with 57 additions and 35 deletions

View File

@@ -1,11 +1,12 @@
<?php
namespace Gloudemans\Tests\Shoppingcart;
use Gloudemans\Shoppingcart\Cart;
use PHPUnit_Framework_Assert as PHPUnit;
trait CartAssertions
{
/**
* Assert that the cart contains the given number of items.
*
@@ -31,5 +32,4 @@ trait CartAssertions
PHPUnit::assertCount($rows, $cart->content(), "Expected the cart to contain {$rows} rows, but got {$actual}.");
}
}
}