Update update-database.test.js

This commit is contained in:
Aleksandr Statciuk 2021-12-14 10:46:06 +03:00
parent 3e8dcb13eb
commit 98edaa5e0b
1 changed files with 3 additions and 3 deletions

View File

@ -96,9 +96,9 @@ it('can update database', () => {
})
expect(JSON.parse(lines[4])).toMatchObject({
id: 'KayhanTV.af',
status: { label: 'Timeout', code: 'timeout', level: 4 },
is_broken: true,
updated: true
status: { label: 'Geo-blocked', code: 'geo_blocked', level: 2 },
is_broken: false,
updated: false
})
expect(JSON.parse(lines[5])).toMatchObject({
id: 'Sharq.af',