@@ -752,6 +752,10 @@ public function testDeleteRemoveRestore(): void
752
752
static ::assertEmpty ($ response );
753
753
$ response = $ this ->client ->getObjects ($ type , ['filter ' => ['id ' => $ ids [0 ]]]);
754
754
static ::assertNotEmpty ($ response ['data ' ]);
755
+ $ response = $ this ->client ->deleteObjects ($ ids , $ type );
756
+ static ::assertEquals (204 , $ this ->client ->getStatusCode ());
757
+ static ::assertEquals ('No Content ' , $ this ->client ->getStatusMessage ());
758
+ static ::assertEmpty ($ response );
755
759
$ response = $ this ->client ->removeObjects ($ ids , $ type );
756
760
static ::assertEquals (204 , $ this ->client ->getStatusCode ());
757
761
static ::assertEquals ('No Content ' , $ this ->client ->getStatusMessage ());
@@ -917,7 +921,7 @@ public function testRemove($input, $expected): void
917
921
* Test `removeObjects` on exception.
918
922
*
919
923
* @return void
920
- * @covers removeObjects()
924
+ * @covers :: removeObjects()
921
925
*/
922
926
public function testRemoveObjects (): void
923
927
{
@@ -936,7 +940,7 @@ public function remove($id): ?array
936
940
$ type = 'documents ' ;
937
941
$ response = $ client ->save ($ type , ['title ' => 'this is a test document ' ]);
938
942
$ docId = $ response ['data ' ]['id ' ];
939
- $ response = $ client ->deleteObject ($ docId , $ type );
943
+ $ client ->deleteObject ($ docId , $ type );
940
944
$ ids = [$ docId , 'abc ' ];
941
945
$ actual = $ client ->removeObjects ($ ids , $ type );
942
946
static ::assertEmpty ($ actual );
0 commit comments