- Timestamp:
- 09/02/2020 12:35:36 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/error-protection/recovery-mode-key-service.php
r47122 r48937 25 25 26 26 $this->assertWPError( $error ); 27 $this->assert Equals( 'token_not_found', $error->get_error_code() );27 $this->assertSame( 'token_not_found', $error->get_error_code() ); 28 28 } 29 29 … … 38 38 39 39 $this->assertWPError( $error ); 40 $this->assert Equals( 'token_not_found', $error->get_error_code() );40 $this->assertSame( 'token_not_found', $error->get_error_code() ); 41 41 } 42 42 … … 51 51 52 52 $this->assertWPError( $error ); 53 $this->assert Equals( 'invalid_recovery_key_format', $error->get_error_code() );53 $this->assertSame( 'invalid_recovery_key_format', $error->get_error_code() ); 54 54 } 55 55 … … 67 67 68 68 $this->assertWPError( $error ); 69 $this->assert Equals( 'invalid_recovery_key_format', $error->get_error_code() );69 $this->assertSame( 'invalid_recovery_key_format', $error->get_error_code() ); 70 70 } 71 71 … … 80 80 81 81 $this->assertWPError( $error ); 82 $this->assert Equals( 'hash_mismatch', $error->get_error_code() );82 $this->assertSame( 'hash_mismatch', $error->get_error_code() ); 83 83 } 84 84 … … 93 93 94 94 $this->assertWPError( $error ); 95 $this->assert Equals( 'hash_mismatch', $error->get_error_code() );95 $this->assertSame( 'hash_mismatch', $error->get_error_code() ); 96 96 } 97 97 … … 111 111 112 112 $this->assertWPError( $error ); 113 $this->assert Equals( 'key_expired', $error->get_error_code() );113 $this->assertSame( 'key_expired', $error->get_error_code() ); 114 114 } 115 115 … … 138 138 139 139 $this->assertWPError( $error ); 140 $this->assert Equals( 'token_not_found', $error->get_error_code() );140 $this->assertSame( 'token_not_found', $error->get_error_code() ); 141 141 } 142 142 … … 160 160 161 161 $this->assertWPError( $error ); 162 $this->assert Equals( 'token_not_found', $error->get_error_code() );162 $this->assertSame( 'token_not_found', $error->get_error_code() ); 163 163 } 164 164
Note: See TracChangeset
for help on using the changeset viewer.