Skip to content

Commit

Permalink
Update tests/wpunit/ModelTest.php
Browse files Browse the repository at this point in the history
Co-authored-by: Jason Adams <[email protected]>
  • Loading branch information
stratease and JasonTheAdams authored Sep 9, 2024
1 parent c945452 commit 478549e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/wpunit/ModelTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ public function invalidTypeProvider() {
[ 'firstName', 100 ],
[ 'emails', 'Not an array' ],
[ 'microseconds', 'Not a float' ],
[ 'number', 'Not a number' ]
[ 'number', '12' ] // numeric strings do not work; must be int or float
];
}
}

0 comments on commit 478549e

Please sign in to comment.