Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

handle invalid payloads and content types #14

Merged
merged 1 commit into from
Dec 1, 2023

handle invalid payloads

df1d865
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

handle invalid payloads and content types #14

handle invalid payloads
df1d865
Select commit
Loading
Failed to load commit list.
This check has been archived and is scheduled for deletion. Learn more about checks retention
GitHub Actions / Unit Tests succeeded Dec 1, 2023 in 1s

Unit Tests ✅

Tests passed successfully

✅ reports/junit.xml

15 tests were completed in 1s with 14 passed, 0 failed and 1 skipped.

Test suite Passed Failed Skipped Time
Nornir Tests 8✅ 877ms
Parsing 1✅ 521ms
REST tests 5✅ 609ms
test something 1⚪ 156ms

✅ Nornir Tests

Nornir Tests use() Should add basic middleware
  ✅ Nornir Tests use() Should add basic middleware
Nornir Tests use() Should throw when middleware throws
  ✅ Nornir Tests use() Should throw when middleware throws
Nornir Tests useResult() Should add basic middleware
  ✅ Nornir Tests useResult() Should add basic middleware
Nornir Tests useResult() Should handle previous error result
  ✅ Nornir Tests useResult() Should handle previous error result
Nornir Tests useChain() Should compose chain
  ✅ Nornir Tests useChain() Should compose chain
Nornir Tests split() Should split items
  ✅ Nornir Tests split() Should split items
Nornir Tests split() Should handle errors
  ✅ Nornir Tests split() Should handle errors
Nornir Tests match() Should run the correct match
  ✅ Nornir Tests match() Should run the correct match

✅ Parsing

Parsing Should throw correct error on failure to parse
  ✅ Parsing Should throw correct error on failure to parse

✅ REST tests

REST tests Valid requests Should process a basic GET request
  ✅ REST tests Valid requests Should process a basic GET request
REST tests Valid requests Should process a basic POST request
  ✅ REST tests Valid requests Should process a basic POST request
REST tests Valid requests Should process a GET request with an empty body
  ✅ REST tests Valid requests Should process a GET request with an empty body
REST tests Invalid requests Should return a 404 for an invalid path
  ✅ REST tests Invalid requests Should return a 404 for an invalid path
REST tests Invalid requests Should return a 422 for an invalid body
  ✅ REST tests Invalid requests Should return a 422 for an invalid body

✅ test something

test something should do something
  ⚪ test something should do something