test: fix filter_time case

This commit is contained in:
DIYgod
2019-09-19 19:19:01 +08:00
parent 568441370d
commit 8934686218
2 changed files with 2 additions and 2 deletions

View File

@@ -40,7 +40,7 @@ describe('filter', () => {
});
it(`filter_time`, async () => {
const response = await request.get('/test/1?filter_time=25');
const response = await request.get('/test/current_time?filter_time=25');
const parsed = await parser.parseString(response.text);
expect(parsed.items.length).toBe(2);
expect(parsed.items[0].title).toBe('Title1');