Fixed spec to be correct data

master
Mark Moffat 2019-12-16 12:59:20 +10:30
parent b6bc96c6d2
commit 043fce5081
1 changed files with 3 additions and 3 deletions

View File

@ -181,7 +181,7 @@ test('[Success] Add a product', async t => {
optOptions: ['S', 'M', 'L', 'XL'] optOptions: ['S', 'M', 'L', 'XL']
} }
}, },
productComment: 'test comment', productComment: false,
productStock: 50 productStock: 50
}; };
@ -211,7 +211,7 @@ test('[Fail] Add a product - Duplicate permalink', async t => {
optOptions: ['S', 'M', 'L', 'XL'] optOptions: ['S', 'M', 'L', 'XL']
} }
}, },
productComment: 'test comment - its blue', productComment: false,
productStock: 50 productStock: 50
}; };
@ -241,7 +241,7 @@ test('[Success] Update a product', async t => {
optOptions: ['S', 'M', 'L', 'XL'] optOptions: ['S', 'M', 'L', 'XL']
} }
}, },
productComment: 'test comment', productComment: true,
productStock: 50 productStock: 50
}; };