@@ -65,7 +65,6 @@ public function testDeserializeJsonWithKebabCaseContentTypeHeader(): void
65
65
66
66
$ result = $ this ->serializer ->deserialize ($ data , $ headers );
67
67
68
- $ this ->assertIsArray ($ result );
69
68
$ this ->assertArrayHasKey ('foo ' , $ result );
70
69
$ this ->assertEquals ('bar ' , $ result ['foo ' ]);
71
70
}
@@ -77,8 +76,6 @@ public function testDeserializeJsonWithKebabCaseArrayContentTypeHeader(): void
77
76
78
77
$ result = $ this ->serializer ->deserialize ($ data , $ headers );
79
78
80
- $ this ->assertIsArray ($ result );
81
- $ this ->assertArrayHasKey ('foo ' , $ result );
82
79
$ this ->assertEquals ('bar ' , $ result ['foo ' ]);
83
80
}
84
81
@@ -89,8 +86,6 @@ public function testDeserializeJsonWithSnakeCaseContentTypeHeader(): void
89
86
90
87
$ result = $ this ->serializer ->deserialize ($ data , $ headers );
91
88
92
- $ this ->assertIsArray ($ result );
93
- $ this ->assertArrayHasKey ('foo ' , $ result );
94
89
$ this ->assertEquals ('bar ' , $ result ['foo ' ]);
95
90
}
96
91
@@ -101,8 +96,6 @@ public function testDeserializeJsonWithoutContentTypeHeader(): void
101
96
102
97
$ result = $ this ->serializer ->deserialize ($ data , $ headers );
103
98
104
- $ this ->assertIsArray ($ result );
105
- $ this ->assertArrayHasKey ('foo ' , $ result );
106
99
$ this ->assertEquals ('bar ' , $ result ['foo ' ]);
107
100
}
108
101
@@ -113,7 +106,6 @@ public function testDeserializeNonJsonData(): void
113
106
114
107
$ result = $ this ->serializer ->deserialize ($ data , $ headers );
115
108
116
- $ this ->assertIsString ($ result );
117
109
$ this ->assertEquals ('plain text data ' , $ result );
118
110
}
119
111
}
0 commit comments