- Timestamp:
- 09/06/2022 10:03:10 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/customize/custom-css-setting.php
r52010 r54088 121 121 122 122 $original_css = 'body { color: black; }'; 123 $post_id = $this->factory()->post->create(123 $post_id = self::factory()->post->create( 124 124 array( 125 125 'post_title' => $this->setting->stylesheet, … … 131 131 ); 132 132 $twentyten_css = 'body { color: red; }'; 133 $twentyten_post_id = $this->factory()->post->create(133 $twentyten_post_id = self::factory()->post->create( 134 134 array( 135 135 'post_title' => 'twentyten', … … 274 274 $this->assertSame( '/*default*//*filtered*/', $this->setting->value() ); 275 275 276 $this->factory()->post->create(276 self::factory()->post->create( 277 277 array( 278 278 'post_title' => $this->setting->stylesheet, … … 311 311 public function test_update_filter() { 312 312 $original_css = 'body { color:red; }'; 313 $post_id = $this->factory()->post->create(313 $post_id = self::factory()->post->create( 314 314 array( 315 315 'post_title' => $this->setting->stylesheet,
Note: See TracChangeset
for help on using the changeset viewer.