Skip to content

test: fix TestResponseTest#7599

Merged
kenjis merged 5 commits intocodeigniter4:developfrom
kenjis:fix-TestResponseTest
Jul 3, 2023
Merged

test: fix TestResponseTest#7599
kenjis merged 5 commits intocodeigniter4:developfrom
kenjis:fix-TestResponseTest

Conversation

@kenjis
Copy link
Copy Markdown
Member

@kenjis kenjis commented Jun 19, 2023

Description

  • fix test code
  • rename test methods
  • fix @param types
  • delete FeatureTestTraitTest::testCallWithJsonRequestObject() and add testAssertJsonExactObject()

Checklist:

  • Securely signed commits
  • [] Component(s) with PHPDoc blocks, only if necessary or adds value
  • [] Unit testing, with >80% coverage
  • [] User guide updated
  • Conforms to style guide

kenjis added 5 commits June 19, 2023 18:26
Add the method name to test.
Cannot set non-string to Response body.
…actObject()

testCallWithJsonRequestObject() is not a test for FeatureTestTrait.
@kenjis kenjis added the testing Pull requests that changes tests only label Jun 19, 2023
Copy link
Copy Markdown
Member

@MGatner MGatner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@kenjis kenjis merged commit da41b55 into codeigniter4:develop Jul 3, 2023
@kenjis kenjis deleted the fix-TestResponseTest branch July 3, 2023 23:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

testing Pull requests that changes tests only

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants