Skip to content

Commit

Permalink
test update sample mid
Browse files Browse the repository at this point in the history
  • Loading branch information
simon300000 committed Nov 1, 2021
1 parent 77e1570 commit 4a8a09d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,19 +102,19 @@ describe('Bilibili biliAPI', function() {
context('Exceptions', function() {
context('No live room', function() {
it('mid -> roomStatus -> 0', async function() {
let { roomStatus } = await biliAPI({ mid: 233 }, ['roomStatus'])
let { roomStatus } = await biliAPI({ mid: 2333 }, ['roomStatus'])
assert.strictEqual(roomStatus, 0)
})
it('mid -> roundStatus -> 0', async function() {
let { roundStatus } = await biliAPI({ mid: 233 }, ['roundStatus'])
let { roundStatus } = await biliAPI({ mid: 2333 }, ['roundStatus'])
assert.strictEqual(roundStatus, 0)
})
it('mid -> liveStatus -> 0', async function() {
let { liveStatus } = await biliAPI({ mid: 233 }, ['liveStatus'])
let { liveStatus } = await biliAPI({ mid: 2333 }, ['liveStatus'])
assert.strictEqual(liveStatus, 0)
})
it('mid -> online -> 0', async function() {
let { online } = await biliAPI({ mid: 233 }, ['online'])
let { online } = await biliAPI({ mid: 2333 }, ['online'])
assert.strictEqual(online, 0)
})
})
Expand Down Expand Up @@ -166,7 +166,7 @@ describe('Bilibili biliAPI', function() {
assert.strictEqual(areaRank, 1000)
})
it('mid -> allVideos', async function() {
let { allVideos } = await biliAPI({ mid: 349991143 }, ['allVideos'])
const { allVideos } = await biliAPI({ mid: 3499295 }, ['allVideos'])
assert.isArray(allVideos)
})
it('aid -> cids', async function() {
Expand Down

0 comments on commit 4a8a09d

Please sign in to comment.