isomerpages / isomercms-backend

A static website builder and host for the Singapore Government
5 stars 1 forks source link

feat(integration): reviews inte test #909

Closed kishore03109 closed 1 year ago

kishore03109 commented 1 year ago

Problem

When the PR #867 was introduced, the test case was mocked so there was no proof of functionality (at the unit test level) + no test cases to actually prevent regression.

Solution

Add integration test for this.

Before & After Screenshots

BEFORE:

NOTE: This is run on a codebase where the changes introduced in #867 was reverted. Screenshot 2023-08-18 at 1 14 45 PM

AFTER:

Screenshot 2023-08-18 at 1 15 20 PM

Tests

integration tests