@@ -55,9 +55,7 @@ public function testSuccess(): void
5555 * id: string,
5656 * title: string,
5757 * alias: string,
58- * body: string,
59- * createdAt: string|null,
60- * updatedAt: string|null
58+ * createdAt: string|null
6159 * }>,
6260 * pagination: array{total: int},
6361 * } $articles
@@ -69,16 +67,12 @@ public function testSuccess(): void
6967 self ::assertSame ($ articleId2 , $ articles ['data ' ][0 ]['id ' ]);
7068 self ::assertSame ($ title2 , $ articles ['data ' ][0 ]['title ' ]);
7169 self ::assertSame ($ alias2 , $ articles ['data ' ][0 ]['alias ' ]);
72- self ::assertSame ($ content2 , $ articles ['data ' ][0 ]['body ' ]);
7370 self ::assertNotEmpty ($ articles ['data ' ][0 ]['createdAt ' ]);
74- self ::assertNull ($ articles ['data ' ][0 ]['updatedAt ' ]);
7571
7672 self ::assertSame ($ articleId1 , $ articles ['data ' ][1 ]['id ' ]);
7773 self ::assertSame ($ title1 , $ articles ['data ' ][1 ]['title ' ]);
7874 self ::assertSame ($ alias1 , $ articles ['data ' ][1 ]['alias ' ]);
79- self ::assertSame ($ content1 , $ articles ['data ' ][1 ]['body ' ]);
8075 self ::assertNotEmpty ($ articles ['data ' ][1 ]['createdAt ' ]);
81- self ::assertNull ($ articles ['data ' ][1 ]['updatedAt ' ]);
8276
8377 self ::assertSame (2 , $ articles ['pagination ' ]['total ' ]);
8478 }
@@ -115,9 +109,7 @@ public function testArticleNotFound(): void
115109 * id: string,
116110 * title: string,
117111 * alias: string,
118- * body: string,
119- * createdAt: string|null,
120- * updatedAt: string|null
112+ * createdAt: string|null
121113 * }>,
122114 * pagination: array{total: int},
123115 * } $articles
@@ -129,9 +121,7 @@ public function testArticleNotFound(): void
129121 self ::assertSame ($ articleId , $ articles ['data ' ][0 ]['id ' ]);
130122 self ::assertSame ($ title , $ articles ['data ' ][0 ]['title ' ]);
131123 self ::assertSame ($ alias , $ articles ['data ' ][0 ]['alias ' ]);
132- self ::assertSame ($ content , $ articles ['data ' ][0 ]['body ' ]);
133124 self ::assertNotEmpty ($ articles ['data ' ][0 ]['createdAt ' ]);
134- self ::assertNull ($ articles ['data ' ][0 ]['updatedAt ' ]);
135125
136126 self ::assertSame (1 , $ articles ['pagination ' ]['total ' ]);
137127 }
0 commit comments