Skip to content

Commit 7be8ba8

Browse files
committed
test: ignore missing
1 parent 8dd2f82 commit 7be8ba8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/wpunit/ModelTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ public function testFromDataShouldCreateInstanceWithCorrectTypes(): void {
301301
'emails' => [ 'billMurray@givewp.com' ],
302302
'microseconds' => '1234567890',
303303
'number' => '1234567890',
304-
], MockModel::BUILD_MODE_IGNORE_EXTRA );
304+
], MockModel::BUILD_MODE_IGNORE_EXTRA & MockModel::BUILD_MODE_IGNORE_MISSING );
305305

306306
$this->assertEquals( 1, $model->id );
307307
$this->assertEquals( 'Bill', $model->firstName );

0 commit comments

Comments
 (0)