Loading tests/src/Unit/JsonPathReplacerTest.php +5 −5 Original line number Diff line number Diff line Loading @@ -140,11 +140,11 @@ class JsonPathReplacerTest extends UnitTestCase { $actual = $this->sut->replaceBatch($batch, $responses); $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']); } } Loading
tests/src/Unit/JsonPathReplacerTest.php +5 −5 Original line number Diff line number Diff line Loading @@ -140,11 +140,11 @@ class JsonPathReplacerTest extends UnitTestCase { $actual = $this->sut->replaceBatch($batch, $responses); $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']); } }