mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 01:25:55 +02:00
Add some fixtures for parts to test part pages.
This commit is contained in:
parent
d26004cfec
commit
ab777bc264
3 changed files with 201 additions and 11 deletions
|
@ -24,6 +24,7 @@ declare(strict_types=1);
|
|||
|
||||
namespace App\Tests;
|
||||
|
||||
use App\Entity\Parts\Manufacturer;
|
||||
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
|
||||
|
||||
/**
|
||||
|
@ -61,16 +62,6 @@ class ApplicationAvailabilityFunctionalTest extends WebTestCase
|
|||
yield ['/user/settings'];
|
||||
yield ['/user/info'];
|
||||
|
||||
//Part lists
|
||||
yield ['/category/1/parts'];
|
||||
yield ['/footprint/1/parts'];
|
||||
yield ['/manufacturer/1/parts'];
|
||||
yield ['/store_location/1/parts'];
|
||||
yield ['/supplier/1/parts'];
|
||||
yield ['/parts/by_tag/Test'];
|
||||
yield ['/parts/search?keyword=test'];
|
||||
yield ['/parts'];
|
||||
|
||||
//Login/logout
|
||||
yield ['/login'];
|
||||
|
||||
|
@ -89,7 +80,14 @@ class ApplicationAvailabilityFunctionalTest extends WebTestCase
|
|||
//yield ['/tree/device/1'];
|
||||
yield ['/tree/devices'];
|
||||
|
||||
yield ['/log/'];
|
||||
//Part tests
|
||||
yield ['/part/1'];
|
||||
yield ['/part/2'];
|
||||
yield ['/part/3'];
|
||||
|
||||
yield ['/part/1/edit'];
|
||||
yield ['/part/2/edit'];
|
||||
yield ['/part/3/edit'];
|
||||
|
||||
//Typeahead
|
||||
yield ['/typeahead/builtInResources/search/DIP8'];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue