Renamed Storelocation entity to StorageLocation

This commit is contained in:
Jan Böhmer 2023-09-04 22:57:40 +02:00
parent 09acca950d
commit 0af5a58dbe
59 changed files with 218 additions and 176 deletions

View file

@ -43,7 +43,7 @@ namespace App\Tests\Services\LabelSystem\PlaceholderProviders;
use App\Entity\Parts\Part;
use App\Entity\Parts\PartLot;
use App\Entity\Parts\Storelocation;
use App\Entity\Parts\StorageLocation;
use App\Entity\UserSystem\User;
use App\Services\LabelSystem\PlaceholderProviders\PartLotProvider;
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
@ -68,9 +68,9 @@ class PartLotProviderTest extends WebTestCase
$this->target->setExpirationDate(new \DateTime('1999-04-13'));
$this->target->setInstockUnknown(true);
$location = new Storelocation();
$location = new StorageLocation();
$location->setName('Location');
$location->setParent((new Storelocation())->setName('Parent'));
$location->setParent((new StorageLocation())->setName('Parent'));
$this->target->setStorageLocation($location);
$part = new Part();