Skip to content

Commit

Permalink
Remove deprecated methods assertArraySubset
Browse files Browse the repository at this point in the history
  • Loading branch information
jderusse committed Aug 3, 2019
1 parent 16d337b commit b5c5e29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/Normalizer/JsonSerializableNormalizerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public function testNormalize()
->expects($this->once())
->method('normalize')
->willReturnCallback(function ($data) {
$this->assertArraySubset(['foo' => 'a', 'bar' => 'b', 'baz' => 'c'], $data);
$this->assertSame(['foo' => 'a', 'bar' => 'b', 'baz' => 'c'], array_diff_key($data, ['qux' => '']));

return 'string_object';
})
Expand Down

0 comments on commit b5c5e29

Please sign in to comment.