u
This commit is contained in:
@@ -626,6 +626,12 @@ describe('store.article', () => {
|
||||
() => store.article.deleteImage(gid, art.sku, img2.fullHash),
|
||||
{ message: 'Image not found' },
|
||||
);
|
||||
|
||||
const history = await store.article.getHistoryBySku(gid, art.sku);
|
||||
const texts = history.map((h) => h.text);
|
||||
assert.ok(texts.some((t) => t.includes('Bild hinzugefügt')));
|
||||
assert.ok(texts.some((t) => t.includes('Bildreihenfolge geändert')));
|
||||
assert.ok(texts.some((t) => t.includes('Bild gelöscht')));
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user