Added API endpoints to fetch invoices (#5070)
* added serializer attributes for API usage * new setters to fill invoice data from fixture * re-usable fixture helper methods * added API endpoints to fetch invoices * adjust tests
This commit is contained in:
@@ -34,7 +34,6 @@ final class CustomerFixtures implements TestFixture
|
||||
* Will be called prior to persisting the object.
|
||||
*
|
||||
* @param callable $callback
|
||||
* @return CustomerFixtures
|
||||
*/
|
||||
public function setCallback(callable $callback): CustomerFixtures
|
||||
{
|
||||
@@ -63,7 +62,6 @@ final class CustomerFixtures implements TestFixture
|
||||
}
|
||||
|
||||
/**
|
||||
* @param ObjectManager $manager
|
||||
* @return Customer[]
|
||||
*/
|
||||
public function load(ObjectManager $manager): array
|
||||
|
||||
Reference in New Issue
Block a user