We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97e0650 commit 1f867cdCopy full SHA for 1f867cd
tests/wpunit/QueryBuilder/CRUDTest.php
@@ -437,6 +437,9 @@ private function insert_posts( array $posts ): array {
437
* @return void
438
*/
439
private function assert_posts_exist( array $posts, array $ids ) {
440
+ $this->assertNotEmpty($posts);
441
+ $this->assertNotEmpty($ids);
442
+
443
$foundPosts = DB::table('posts')
444
->select(...array_keys($posts[0]))
445
->whereIn('ID', $ids)
0 commit comments