mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-13 03:23:07 +02:00
test
This commit is contained in:
parent
bd86a7ad48
commit
378728e534
1 changed files with 2 additions and 2 deletions
|
@ -96,7 +96,7 @@ describe('API', () => {
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
it('正しい情報で正しくサインインできる', done => {
|
it('正しい情報でサインインできる', done => {
|
||||||
request('/signin', account).then(res => {
|
request('/signin', account).then(res => {
|
||||||
res.should.have.status(204);
|
res.should.have.status(204);
|
||||||
me = res.header['set-cookie'][0].match(/i=(!\w+)/)[1];
|
me = res.header['set-cookie'][0].match(/i=(!\w+)/)[1];
|
||||||
|
@ -151,4 +151,4 @@ describe('API', () => {
|
||||||
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue