realityloop created an issue. See original summary.
Please review the patch.
Looks like the failing tests are due to changing the assertions
- $this->assertInternalType('int', $actual[0]->body['You are number']); - $this->assertInternalType('string', $actual[0]->body['Where am I']); - $this->assertInternalType('boolean', $actual[0]->body['World of number two']); - $this->assertInternalType('string', $actual[0]->body['Question']); - $this->assertInternalType('float', $actual[0]->body['Michael']); + $this->assertIsInt($actual[0]->body['You are number']); + $this->assertIsString($actual[0]->body['Where am I']); + $this->assertIsBool( $actual[0]->body['World of number two']); + $this->assertIsString( $actual[0]->body['Question']); + $this->assertIsFloat($actual[0]->body['Michael']);
The indenting is also off here:
- "galbar/jsonpath": "^1.0" + "galbar/jsonpath": "^1.0", + "drupal/core": "^8 || ^9"
This should hopefully pass tests.
Thanks for the patch!
Issue #3122455 by segovia94, Sahana _N, realityloop, e0ipso: Drupal 9...
Automatically closed - issue fixed for 2 weeks with no activity.
Comments
Comment #2
sahana _n commentedComment #3
sahana _n commentedPlease review the patch.
Comment #4
segovia94 commentedLooks like the failing tests are due to changing the assertions
The indenting is also off here:
Comment #5
segovia94 commentedThis should hopefully pass tests.
Comment #6
e0ipsoThanks for the patch!
Comment #8
e0ipso