Skip to content

updated sad path scenario assertions and corrected spelling mistake i… #32

updated sad path scenario assertions and corrected spelling mistake i…

updated sad path scenario assertions and corrected spelling mistake i… #32

This check has been archived and is scheduled for deletion. Learn more about checks retention
GitHub Actions / Test Results succeeded Sep 21, 2024 in 0s

Test Results ✔️

Tests passed successfully

✔️ target/surefire-reports/TEST-TestSuite.xml

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

Test suite Passed Failed Skipped Time
TestSuite 28✔️ 14s

✔️ TestSuite

io.github.mfaisalkhatri.api.reqres.tests.ApiTests
  ✔️ testGetAPI
  ✔️ testPostAPI
  ✔️ testDeleteAPI
  ✔️ testPutAPI
  ✔️ testPatchAPI
io.github.mfaisalkhatri.api.restfulbooker.tests.RestfulBookerEndToEndTests
  ✔️ createBookingTest
  ✔️ getBookingTest
  ✔️ generateTokenTest
  ✔️ updateBookingTest
  ✔️ updatePartialBookingTest
  ✔️ deleteBookingTest
  ✔️ testBookingDeleted
io.github.mfaisalkhatri.api.restfulecommerce.SadPathTests
  ✔️ testShouldNotCreateOrder_WhenProductIdFieldIsMissing
  ✔️ testShouldNotCreateOrder_WhenOrderListIsNotArray
  ✔️ testShouldNotFetchOrder_WhenNoOrderExists
  ✔️ testShouldNotFetchOrder_WhenNoOrderExistsForOrderId
  ✔️ testShouldNotFetchOrder_WhenNoOrderExistsForUserId
  ✔️ testShouldNotFetchOrder_WhenNoOrderExistsForProductId
io.github.mfaisalkhatri.api.restfulecommerce.HappyPathTests
  ✔️ testShouldCreateNewOrders
  ✔️ testShouldGetAllOrders
  ✔️ testShouldGetOrderUsingOrderId
  ✔️ testShouldGetOrdersUsingUserId
  ✔️ testShouldGetOrdersUsingProductId
  ✔️ testTokenGeneration
  ✔️ testShouldUpdateTheOrderUsingPut
  ✔️ testShouldUpdateTheOrderUsingPatch
  ✔️ testShouldDeleteTheOrder
  ✔️ testShouldNotRetrieveDeletedOrder