Skip to content

fix: fix quotes test (@rizwanmustafa)#8072

Open
rizwanmustafa wants to merge 1 commit into
monkeytypegame:masterfrom
rizwanmustafa:master
Open

fix: fix quotes test (@rizwanmustafa)#8072
rizwanmustafa wants to merge 1 commit into
monkeytypegame:masterfrom
rizwanmustafa:master

Conversation

@rizwanmustafa
Copy link
Copy Markdown
Member

Fixed a duplicate test.

Copilot AI review requested due to automatic review settings June 6, 2026 14:24
@monkeytypegeorge monkeytypegeorge added the backend Server stuff label Jun 6, 2026
@github-actions github-actions Bot added the waiting for review Pull requests that require a review before continuing label Jun 6, 2026
@rizwanmustafa rizwanmustafa changed the title feat: fix quotes test (@rizwanmustafa) fix: fix quotes test (@rizwanmustafa) Jun 6, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Fixes the QuotesController “isSubmissionEnabled” test case so the disabled-quotes scenario actually disables quote submissions and asserts the correct response.

Changes:

  • Ensure the “quotes disabled” test sets submissionsEnabled to false.
  • Update expected response payload to "Quote submission disabled" and isEnabled: false.

});
it("should return for quotes disabled without authentication", async () => {
//GIVEN
enableQuotes(false);
@rizwanmustafa rizwanmustafa requested review from Miodec and fehmer June 6, 2026 15:20
@fehmer
Copy link
Copy Markdown
Member

fehmer commented Jun 8, 2026

hi,

lets await the enableQuotesand enableQuotesReporting

nevermind, i'll create a pr for that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend Server stuff waiting for review Pull requests that require a review before continuing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants