Skip to content

Commit

Permalink
Add 'bad' update to test actions
Browse files Browse the repository at this point in the history
  • Loading branch information
bennylope committed Aug 31, 2023
1 parent fcdd6ab commit 38abb81
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ jobs:

test:

needs: lint

name: Test on Python ${{ matrix.python-version }}
runs-on: ubuntu-latest
strategy:
Expand Down
2 changes: 1 addition & 1 deletion tests/test_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ def test_update_category(self, discourse_client, requests_mock):
request = requests_mock.put(
f"{discourse_client.host}/categories/123",
headers={"Content-Type": "application/json; charset=utf-8"},
json={},
json={}
)
discourse_client.update_category(123, a="a", b="b")

Expand Down

0 comments on commit 38abb81

Please sign in to comment.