From 0bbeaf7b156d15187f4b97a2e288300bf8bdb111 Mon Sep 17 00:00:00 2001 From: Ryan McCue Date: Tue, 8 Nov 2016 06:45:26 +0000 Subject: [PATCH] REST API: Embiggen the test email address. We no longer want a@b.c to be valid, so let's make it a@b.co instead. Props dd32. See #38506. git-svn-id: https://develop.svn.wordpress.org/trunk@39159 602fd350-edb4-49c9-b593-d223f7449a82 --- tests/phpunit/tests/rest-api/rest-schema-validation.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/phpunit/tests/rest-api/rest-schema-validation.php b/tests/phpunit/tests/rest-api/rest-schema-validation.php index 20696a2cb4..fa3f327b13 100644 --- a/tests/phpunit/tests/rest-api/rest-schema-validation.php +++ b/tests/phpunit/tests/rest-api/rest-schema-validation.php @@ -66,7 +66,7 @@ class WP_Test_REST_Schema_Validation extends WP_UnitTestCase { 'format' => 'email', ); $this->assertTrue( rest_validate_value_from_schema( 'email@example.com', $schema ) ); - $this->assertTrue( rest_validate_value_from_schema( 'a@b.c', $schema ) ); + $this->assertTrue( rest_validate_value_from_schema( 'a@b.co', $schema ) ); $this->assertWPError( rest_validate_value_from_schema( 'email', $schema ) ); }