Update update-database.test.js
This commit is contained in:
parent
3e8dcb13eb
commit
98edaa5e0b
@ -96,9 +96,9 @@ it('can update database', () => {
|
|||||||
})
|
})
|
||||||
expect(JSON.parse(lines[4])).toMatchObject({
|
expect(JSON.parse(lines[4])).toMatchObject({
|
||||||
id: 'KayhanTV.af',
|
id: 'KayhanTV.af',
|
||||||
status: { label: 'Timeout', code: 'timeout', level: 4 },
|
status: { label: 'Geo-blocked', code: 'geo_blocked', level: 2 },
|
||||||
is_broken: true,
|
is_broken: false,
|
||||||
updated: true
|
updated: false
|
||||||
})
|
})
|
||||||
expect(JSON.parse(lines[5])).toMatchObject({
|
expect(JSON.parse(lines[5])).toMatchObject({
|
||||||
id: 'Sharq.af',
|
id: 'Sharq.af',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user