Changeset 48937 for trunk/tests/phpunit/tests/option/slashes.php
- Timestamp:
- 09/02/2020 12:35:36 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/option/slashes.php
r47122 r48937 29 29 add_option( 'slash_test_4', $this->slash_4 ); 30 30 31 $this->assert Equals( $this->slash_1, get_option( 'slash_test_1' ) );32 $this->assert Equals( $this->slash_2, get_option( 'slash_test_2' ) );33 $this->assert Equals( $this->slash_3, get_option( 'slash_test_3' ) );34 $this->assert Equals( $this->slash_4, get_option( 'slash_test_4' ) );31 $this->assertSame( $this->slash_1, get_option( 'slash_test_1' ) ); 32 $this->assertSame( $this->slash_2, get_option( 'slash_test_2' ) ); 33 $this->assertSame( $this->slash_3, get_option( 'slash_test_3' ) ); 34 $this->assertSame( $this->slash_4, get_option( 'slash_test_4' ) ); 35 35 } 36 36 … … 42 42 43 43 update_option( 'slash_test_5', $this->slash_1 ); 44 $this->assert Equals( $this->slash_1, get_option( 'slash_test_5' ) );44 $this->assertSame( $this->slash_1, get_option( 'slash_test_5' ) ); 45 45 46 46 update_option( 'slash_test_5', $this->slash_2 ); 47 $this->assert Equals( $this->slash_2, get_option( 'slash_test_5' ) );47 $this->assertSame( $this->slash_2, get_option( 'slash_test_5' ) ); 48 48 49 49 update_option( 'slash_test_5', $this->slash_3 ); 50 $this->assert Equals( $this->slash_3, get_option( 'slash_test_5' ) );50 $this->assertSame( $this->slash_3, get_option( 'slash_test_5' ) ); 51 51 52 52 update_option( 'slash_test_5', $this->slash_4 ); 53 $this->assert Equals( $this->slash_4, get_option( 'slash_test_5' ) );53 $this->assertSame( $this->slash_4, get_option( 'slash_test_5' ) ); 54 54 } 55 55 }
Note: See TracChangeset
for help on using the changeset viewer.