WordPress.org

Make WordPress Core

Changeset 39159


Ignore:
Timestamp:
11/08/2016 06:45:26 AM (3 years ago)
Author:
rmccue
Message:

REST API: Embiggen the test email address.

We no longer want a@… to be valid, so let's make it a@… instead.

Props dd32.
See #38506.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/rest-api/rest-schema-validation.php

    r39104 r39159  
    6767        );
    6868        $this->assertTrue( rest_validate_value_from_schema( 'email@example.com', $schema ) );
    69         $this->assertTrue( rest_validate_value_from_schema( 'a@b.c', $schema ) );
     69        $this->assertTrue( rest_validate_value_from_schema( 'a@b.co', $schema ) );
    7070        $this->assertWPError( rest_validate_value_from_schema( 'email', $schema ) );
    7171    }
Note: See TracChangeset for help on using the changeset viewer.