Skip to content
Snippets Groups Projects
Commit 4b906791 authored by syuilo's avatar syuilo
Browse files

[Test] Add a test

parent 52af0ccf
No related branches found
No related tags found
No related merge requests found
......@@ -169,6 +169,16 @@ describe('API', () => {
});
});
it('名前を空白にできない', () => async (done) => {
const me = await insertSakurako();
request('/i/update', {
name: ' '
}, me).then(res => {
res.should.have.status(400);
done();
});
});
it('誕生日の設定を削除できる', () => async (done) => {
const me = await insertSakurako({
birthday: '2000-09-07'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment