mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-12-15 16:07:03 +03:00
Remove extra test case
This commit is contained in:
committed by
GitHub
parent
075cb9d5f2
commit
3c79c0f7a8
@@ -8,12 +8,6 @@ describe('postWarning', () => {
|
|||||||
db.exec("INSERT INTO vipUsers (userID) VALUES ('" + getHash("warning-vip") + "')");
|
db.exec("INSERT INTO vipUsers (userID) VALUES ('" + getHash("warning-vip") + "')");
|
||||||
});
|
});
|
||||||
|
|
||||||
it('Should update the database version when starting the application', (done) => {
|
|
||||||
let version = db.prepare('get', 'SELECT key, value FROM config where key = ?', ['version']).value;
|
|
||||||
if (version > 3) done();
|
|
||||||
else done('Version isn\'t greater than 3. Version is ' + version);
|
|
||||||
});
|
|
||||||
|
|
||||||
it('Should be able to create warning if vip (exp 200)', (done) => {
|
it('Should be able to create warning if vip (exp 200)', (done) => {
|
||||||
let json = {
|
let json = {
|
||||||
issuerUserID: 'warning-vip',
|
issuerUserID: 'warning-vip',
|
||||||
|
|||||||
Reference in New Issue
Block a user