mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-09 15:14:37 +00:00
REST API: Support the multipleOf JSON Schema keyword.
Props yakimun. Fixes #51022. git-svn-id: https://develop.svn.wordpress.org/trunk@49063 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -281,7 +281,7 @@ class WP_Test_REST_Controller extends WP_Test_REST_TestCase {
|
||||
$this->assertArrayHasKey( $property, $args['somestring'] );
|
||||
}
|
||||
|
||||
foreach ( array( 'minimum', 'maximum', 'exclusiveMinimum', 'exclusiveMaximum' ) as $property ) {
|
||||
foreach ( array( 'multipleOf', 'minimum', 'maximum', 'exclusiveMinimum', 'exclusiveMaximum' ) as $property ) {
|
||||
$this->assertArrayHasKey( $property, $args['someinteger'] );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user