From 188142d84e8b1f3e0a34bd16e13204d612418da2 Mon Sep 17 00:00:00 2001 From: Ian Krieger Date: Tue, 15 Aug 2023 16:56:25 -0400 Subject: [PATCH] fix: tests --- src/validation/CreativeSchema.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/validation/CreativeSchema.test.ts b/src/validation/CreativeSchema.test.ts index b98250766..a5242735b 100644 --- a/src/validation/CreativeSchema.test.ts +++ b/src/validation/CreativeSchema.test.ts @@ -4,7 +4,7 @@ import { produce } from "immer"; const validPushCreative = { name: "some creative", type: { code: "notification_all_v1", name: "" }, - state: "active", + state: "under_review", payloadNotification: { body: "abc", title: "xyz", @@ -35,7 +35,7 @@ it.each(["notAUrl", "gopher://blah.com", "httpx://balh.com"])( draft.payloadNotification.targetUrl = value; }); expect(() => CreativeSchema.validateSync(c)).toThrowError( - "URL must start with https:// or be an approved brave:// url", + "URL must start with https://", ); }, );