mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 09:35:49 +02:00
Test part cloning and creation page availability.
This commit is contained in:
parent
b13d209051
commit
dae29cadd0
2 changed files with 6 additions and 1 deletions
|
@ -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);
|
||||||
|
|
|
@ -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'];
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue