Skip to content

Commit

Permalink
The URL must match
Browse files Browse the repository at this point in the history
Signed-off-by: Jelle Janssens <[email protected]>
  • Loading branch information
janssensjelle committed Nov 22, 2024
1 parent 6ab17f3 commit 967c0d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/src/cmds/core/test_other.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ async def test_support_labs(self, bot, ctx):
# Command should respond with a string.
assert isinstance(content, str)

assert content.startswith("https://help.hackthebox.com")
assert content == "https://help.hackthebox.com/en/articles/5986762-contacting-htb-support"

@pytest.mark.asyncio
async def test_support_academy(self, bot, ctx):
Expand All @@ -60,7 +60,7 @@ async def test_support_academy(self, bot, ctx):
# Command should respond with a string.
assert isinstance(content, str)

assert content.startswith("https://help.hackthebox.com")
assert content == "https://help.hackthebox.com/en/articles/5987511-contacting-academy-support"

@pytest.mark.asyncio
async def test_spoiler_without_url(self, bot, ctx):
Expand Down

0 comments on commit 967c0d9

Please sign in to comment.