'name' => 'test',
'stock' => 1,
'price' =>
[['currencyId' => Defaults::CURRENCY, 'gross' => 10, 'net' => 8.10, 'linked' => false
]],
'the_unknown_field' => 'do nothing?',
'tax' =>
['name' => 'test', 'taxRate' => 5
],
'manufacturer' =>
['id' => Uuid::
randomHex(), 'link' => 'https://shopware.com', 'name' => 'shopware AG'
],
'mode' => 0,
'lastStock' => true,
'crossbundlelook' => 1,
'notification' => true,
'template' => 'foo',
'updatedAt' =>
new \
DateTime(),
'active' => true,
],
],
$this->
createWriteContext() );
$product =
$this->connection->
fetchAssociative('SELECT * FROM product WHERE id=:id',
[ 'id' =>
$this->idBytes,
]);
static::
assertIsArray($product);