fix failing tests

This commit is contained in:
Hayden 2023-03-06 21:06:18 -09:00
parent e71146df3d
commit 3cfd274212
No known key found for this signature in database
GPG key ID: 17CF79474E257545
3 changed files with 9 additions and 5 deletions

View file

@ -9,7 +9,7 @@ describe("basic notifier workflows", () => {
// Create Notifier
const result = await client.notifiers.create({
name: faker.name.firstName(),
url: faker.internet.url(),
url: "discord://" + faker.random.alphaNumeric(10),
isActive: true,
});
@ -23,7 +23,7 @@ describe("basic notifier workflows", () => {
{
const updateData = {
name: faker.name.firstName(),
url: faker.internet.url(),
url: "discord://" + faker.random.alphaNumeric(10),
isActive: true,
};
@ -38,7 +38,7 @@ describe("basic notifier workflows", () => {
{
const updateData = {
name: faker.name.firstName(),
url: "",
url: null,
isActive: true,
};