Test part cloning and creation page availability.

This commit is contained in:
Jan Böhmer 2020-04-09 14:23:26 +02:00
parent b13d209051
commit dae29cadd0
2 changed files with 6 additions and 1 deletions

View file

@ -73,7 +73,7 @@ class PartFixtures extends Fixture
/** Part with orderdetails, storelocations and Attachments */ /** Part with orderdetails, storelocations and Attachments */
$part = new Part(); $part = new Part();
$part->setFavorite(true); $part->setFavorite(true);
$part->setName('Part 2'); $part->setName('Part 3');
$part->setCategory($manager->find(Category::class, 1)); $part->setCategory($manager->find(Category::class, 1));
$partLot1 = new PartLot(); $partLot1 = new PartLot();
$partLot1->setAmount(1.0); $partLot1->setAmount(1.0);

View file

@ -108,6 +108,11 @@ class ApplicationAvailabilityFunctionalTest extends WebTestCase
yield ['/part/2/edit']; yield ['/part/2/edit'];
yield ['/part/3/edit']; yield ['/part/3/edit'];
yield ['/part/3/clone'];
yield ['/part/new'];
yield ['/part/new?category=1&footprint=1&manufacturer=1&storelocation=1&supplier=1'];
//Statistics //Statistics
yield ['/statistics']; yield ['/statistics'];