diff --git a/lib/helpers/branding.ts b/lib/helpers/branding.ts index 9d016fb..3a6804f 100644 --- a/lib/helpers/branding.ts +++ b/lib/helpers/branding.ts @@ -1,10 +1,12 @@ +import Env from "./env"; + export const defaultBranding = { name: "Shady Meadows B&B", map: { latitude: 52.6351204, longitude: 1.2733774, }, - logoUrl: "https://automationintesting.online/images/rbp-logo.jpg", + logoUrl: `${Env.URL}/images/room2.jpg`, description: "Welcome to Shady Meadows, a delightful Bed & Breakfast nestled in the hills on Newingtonfordburyshire. A place so beautiful you will never want to leave. All our rooms have comfortable beds and we provide breakfast from the locally sourced supermarket. It is a delightful place.", contact: { diff --git a/tests/branding/branding.spec.ts b/tests/branding/branding.spec.ts index 343fb02..30283b9 100644 --- a/tests/branding/branding.spec.ts +++ b/tests/branding/branding.spec.ts @@ -35,10 +35,11 @@ test.describe("branding/ PUT requests", async () => { }); test.afterEach(async ({ request }) => { - await request.put("branding/", { + const response = await request.put("branding/", { headers: headers, data: defaultBody, }); + expect(response.status()).toBe(202); }); test("PUT website branding", async ({ request }) => {