Changeset 48937 for trunk/tests/phpunit/tests/option/siteTransient.php
- Timestamp:
- 09/02/2020 12:35:36 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/option/siteTransient.php
r46586 r48937 21 21 $this->assertFalse( get_site_transient( 'doesnotexist' ) ); 22 22 $this->assertTrue( set_site_transient( $key, $value ) ); 23 $this->assert Equals( $value, get_site_transient( $key ) );23 $this->assertSame( $value, get_site_transient( $key ) ); 24 24 $this->assertFalse( set_site_transient( $key, $value ) ); 25 25 $this->assertTrue( set_site_transient( $key, $value2 ) ); 26 $this->assert Equals( $value2, get_site_transient( $key ) );26 $this->assertSame( $value2, get_site_transient( $key ) ); 27 27 $this->assertTrue( delete_site_transient( $key ) ); 28 28 $this->assertFalse( get_site_transient( $key ) ); … … 38 38 39 39 $this->assertTrue( set_site_transient( $key, $value ) ); 40 $this->assert Equals( $value, get_site_transient( $key ) );40 $this->assertSame( $value, get_site_transient( $key ) ); 41 41 42 42 $value = (object) $value;
Note: See TracChangeset
for help on using the changeset viewer.