mirror of
https://github.com/Karaka-Management/oms-ItemManagement.git
synced 2026-02-18 05:08:41 +00:00
test fixes
This commit is contained in:
parent
9755c55ab2
commit
f05b92834b
|
|
@ -13,17 +13,28 @@
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
return ['ItemManagement' => [
|
return ['ItemManagement' => [
|
||||||
|
'SalesPricing' => 'Verkaufspreise',
|
||||||
|
'ItemGroup' => 'Artikelgruppe',
|
||||||
|
'ItemSegment' => 'Artikelsegment',
|
||||||
|
'ItemSection' => 'Artikelsparte',
|
||||||
|
'ItemType' => 'Artikeltyp',
|
||||||
|
'ClientGroup' => 'Kundengruppe',
|
||||||
|
'ClientSegment' => 'Kundensegment',
|
||||||
|
'ClientSection' => 'Kundensparte',
|
||||||
|
'ClientType' => 'Kundentyp',
|
||||||
|
'Procurement' => 'Beschaffung',
|
||||||
|
'TopCustomers' => 'Top Kunden',
|
||||||
'Accounting' => 'Buchhaltung',
|
'Accounting' => 'Buchhaltung',
|
||||||
'Address' => '#VALUE!',
|
'Address' => 'Adresse',
|
||||||
'All' => 'Alle',
|
'All' => 'Alle',
|
||||||
'Article' => 'Artikel',
|
'Article' => 'Artikel',
|
||||||
'Articlegroup' => 'ArtikelGroup.',
|
'Articlegroup' => 'ArtikelGroup.',
|
||||||
'Attribute' => 'Attribut',
|
'Attribute' => 'Attribut',
|
||||||
'AttributeTypes' => '#VALUE!',
|
'AttributeTypes' => 'Attributtypen',
|
||||||
'Attributes' => 'Attribute',
|
'Attributes' => 'Attribute',
|
||||||
'Available' => 'Erhältlich',
|
'Available' => 'Erhältlich',
|
||||||
'AvgPrice' => 'Durchschn. Preis',
|
'AvgPrice' => 'Durchschn. Preis',
|
||||||
'Bills' => '#VALUE!',
|
'Bills' => 'Rechnungen',
|
||||||
'Bonus' => 'Bonus',
|
'Bonus' => 'Bonus',
|
||||||
'ClientGroup' => 'Client / Gruppe.',
|
'ClientGroup' => 'Client / Gruppe.',
|
||||||
'Commission' => 'Kommission',
|
'Commission' => 'Kommission',
|
||||||
|
|
@ -50,9 +61,9 @@ return ['ItemManagement' => [
|
||||||
'General' => 'Allgemein',
|
'General' => 'Allgemein',
|
||||||
'GrossWeight' => 'Bruttogewicht',
|
'GrossWeight' => 'Bruttogewicht',
|
||||||
'Group' => 'Gruppe',
|
'Group' => 'Gruppe',
|
||||||
'Groups' => '#VALUE!',
|
'Groups' => 'Gruppen',
|
||||||
'Height' => 'Höhe',
|
'Height' => 'Höhe',
|
||||||
'ID' => 'ICH WÜRDE',
|
'ID' => 'ID',
|
||||||
'ILV' => 'Ilv.',
|
'ILV' => 'Ilv.',
|
||||||
'Info' => 'Die Info',
|
'Info' => 'Die Info',
|
||||||
'IsActive' => 'Aktiv?',
|
'IsActive' => 'Aktiv?',
|
||||||
|
|
|
||||||
|
|
@ -52,7 +52,7 @@ trait ApiControllerL11nTrait
|
||||||
$request->header->account = 1;
|
$request->header->account = 1;
|
||||||
$request->setData('item', '1');
|
$request->setData('item', '1');
|
||||||
$request->setData('type', '1');
|
$request->setData('type', '1');
|
||||||
$request->setData('description', 'Description');
|
$request->setData('content', 'Description');
|
||||||
|
|
||||||
$this->module->apiItemL11nCreate($request, $response);
|
$this->module->apiItemL11nCreate($request, $response);
|
||||||
self::assertGreaterThan(0, $response->get('')['response']->id);
|
self::assertGreaterThan(0, $response->get('')['response']->id);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user