Changeset 54402 for trunk/tests/phpunit/tests/customize/manager.php
- Timestamp:
- 10/07/2022 01:02:07 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/customize/manager.php
r54088 r54402 2534 2534 $this->assertSame( $default_value, $setting->post_value( $default_value ) ); 2535 2535 2536 $post_value = '42';2537 $this->manager->set_post_value( 'numeric', $post_value );2538 $this->assert Equals( $post_value, $this->manager->post_value( $setting, $default_value ) );2539 $this->assert Equals( $post_value, $setting->post_value( $default_value ) );2536 $post_value = 42; 2537 $this->manager->set_post_value( 'numeric', (string) $post_value ); 2538 $this->assertSame( $post_value, $this->manager->post_value( $setting, $default_value ) ); 2539 $this->assertSame( $post_value, $setting->post_value( $default_value ) ); 2540 2540 } 2541 2541
Note: See TracChangeset
for help on using the changeset viewer.