Skip to content

Commit

Permalink
test(license): fix broken test case
Browse files Browse the repository at this point in the history
Disabled license cannot be enabled. Make sure the license is not disabled before running test.
  • Loading branch information
brankoconjic committed Jun 14, 2024
1 parent 13d4f6f commit 9e12af1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/license/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ beforeAll(async () => {

describe("Activate a license key", () => {
it("Should return a response", async () => {
// Before running, enable the license
await updateLicenseKey(licenseKeyId, { disabled: false });

const {
statusCode,
error: _error,
Expand Down

0 comments on commit 9e12af1

Please sign in to comment.