Remove only. Whoops.

master
Mark Moffat 2019-06-15 10:26:27 +09:30
parent ca7043be2a
commit 92e4d7c047
1 changed files with 3 additions and 3 deletions

View File

@ -179,7 +179,7 @@ test.serial('[Success] Search products', async t => {
t.deepEqual(res.body.length, 2); t.deepEqual(res.body.length, 2);
}); });
test.serial.only('[Success] Check for sitemap.xml', async t => { test.serial('[Success] Check for sitemap.xml', async t => {
const res = await request const res = await request
.get('/sitemap.xml') .get('/sitemap.xml')
.expect(200); .expect(200);
@ -192,7 +192,7 @@ test.serial.only('[Success] Check for sitemap.xml', async t => {
t.deepEqual(res.text.substring(0, 5), '<?xml'); t.deepEqual(res.text.substring(0, 5), '<?xml');
}); });
test.serial.only('[Success] Create a customer', async t => { test.serial('[Success] Create a customer', async t => {
const customer = { const customer = {
email: 'sarah.jones@test.com', email: 'sarah.jones@test.com',
firstName: 'Sarah', firstName: 'Sarah',
@ -214,7 +214,7 @@ test.serial.only('[Success] Create a customer', async t => {
t.deepEqual(res.body.message, 'Successfully logged in'); t.deepEqual(res.body.message, 'Successfully logged in');
}); });
test.serial.only('[Fail] Try create a duplicate customer', async t => { test.serial('[Fail] Try create a duplicate customer', async t => {
const customer = { const customer = {
email: 'sarah.jones@test.com', email: 'sarah.jones@test.com',
firstName: 'Sarah', firstName: 'Sarah',