Skip to content

Commit

Permalink
Refactor Armstrong number tests and API test naming
Browse files Browse the repository at this point in the history
The unnecessary assertion block in the Armstrong number tests has been removed. This clarification ensures cleaner test files for readability. Also, renaming of Bruno API test to a more general "API Tests" is made in the workflow file to accommodate potential additional tests in the future.
  • Loading branch information
rabestro committed Apr 16, 2024
1 parent 4348481 commit ae55152
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/api-tests-bruno.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This workflow runs the API tests for the bruno application on the latest version of Ubuntu

name: API Tests - Bruno
name: API Tests - All

on:
workflow_dispatch:
Expand All @@ -10,7 +10,7 @@ permissions:
checks: write
jobs:
run_bruno_api_test:
name: API Tests by Bruno
name: API Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ query {
number: 9926315
}

assert {
assert {
res.status: eq 200
res.headers['content-type']: contains application/json
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ query {
number: 9926314
}

assert {
assert {
res.status: eq 200
res.headers['content-type']: contains application/json
Expand Down

0 comments on commit ae55152

Please sign in to comment.