Skip to content

Commit

Permalink
Merge pull request #37 from localheinz/fix/assertion
Browse files Browse the repository at this point in the history
Fix: Use more appropriate assertions
  • Loading branch information
chuck committed Jul 25, 2018
2 parents 384e48f + 17f6449 commit c6946eb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/Integration/Transport/HttpTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,6 @@ public function testSilentlySendTraces()
$httpTransport->send($traces);
$output = ob_get_clean();

$this->assertEmpty($output);
$this->assertSame('', $output);
}
}
2 changes: 1 addition & 1 deletion tests/Unit/Encoders/JsonTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public function testEncodeTracesSuccess()

$jsonEncoder = new Json($logger->reveal());
$encodedTrace = $jsonEncoder->encodeTraces([[$span]]);
$this->assertEquals($expectedPayload, $encodedTrace);
$this->assertJsonStringEqualsJsonString($expectedPayload, $encodedTrace);
}

public function testEncodeIgnoreSpanWhenEncodingFails()
Expand Down

0 comments on commit c6946eb

Please sign in to comment.