forked from mirror/Part-DB.Part-DB-server
Fixed phpunit tests
This commit is contained in:
parent
d10d29e590
commit
afcbbe0f43
5 changed files with 11 additions and 8 deletions
|
@ -41,6 +41,7 @@ declare(strict_types=1);
|
|||
|
||||
namespace App\Tests\Services\LabelSystem\PlaceholderProviders;
|
||||
|
||||
use App\Entity\Parts\ManufacturingStatus;
|
||||
use Doctrine\ORM\EntityManager;
|
||||
use App\Entity\Parts\Category;
|
||||
use App\Entity\Parts\Footprint;
|
||||
|
@ -80,7 +81,7 @@ class PartProviderTest extends WebTestCase
|
|||
$this->target->setMass(1234.2);
|
||||
$this->target->setTags('SMD, Tag1, Tag2');
|
||||
$this->target->setManufacturerProductNumber('MPN123');
|
||||
$this->target->setManufacturingStatus('active');
|
||||
$this->target->setManufacturingStatus(ManufacturingStatus::ACTIVE);
|
||||
|
||||
$this->target->setDescription('<b>Bold</b> *Italic*');
|
||||
$this->target->setComment('<b>Bold</b> *Italic*');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue