mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2024-11-10 01:02:30 +01:00
fix tests
This commit is contained in:
parent
b1c5c38bdb
commit
7b15957bb8
1 changed files with 5 additions and 1 deletions
|
@ -586,7 +586,11 @@ describe("postSkipSegments", () => {
|
|||
const errorMessage = await res.text();
|
||||
const reason = "Reason01";
|
||||
const userID = "09dee632bfbb1acc9fda3169cc14b46e459b45cee4f4449be305590e612b5eb7";
|
||||
const expected = `Submission rejected due to a warning from a moderator. This means that we noticed you were making some common mistakes that are not malicious, and we just want to clarify the rules. Could you please send a message in Discord or Matrix so we can further help you? Your userID is ${userID}. Warning reason: ${reason}`;
|
||||
const expected = "Submission rejected due to a warning from a moderator. This means that we noticed you were making some common mistakes"
|
||||
+ " that are not malicious, and we just want to clarify the rules. "
|
||||
+ "Could you please send a message in discord.gg/SponsorBlock or matrix.to/#/+sponsor:ajay.app so we can further help you? "
|
||||
+ `Your userID is ${userID}.\n\nWarning reason: ${reason}`;
|
||||
|
||||
assert.strictEqual(errorMessage, expected);
|
||||
done();
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue