Skip to content

Commit

Permalink
phpcs fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
TimothyBJacobs committed Sep 17, 2024
1 parent 5fa7cd6 commit 4d4917b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/phpunit/tests/rest-api/rest-server.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ public static function set_up_before_class() {
}

public static function wpSetUpBeforeClass( WP_UnitTest_Factory $factory ) {
$filename = DIR_TESTDATA . '/images/test-image-large.jpg';
self::$icon_id = $factory->attachment->create_upload_object( $filename );
$filename = DIR_TESTDATA . '/images/test-image-large.jpg';
self::$icon_id = $factory->attachment->create_upload_object( $filename );
self::$admin_id = $factory->user->create(
array(
'role' => 'administrator',
)
);
self::$post_id = $factory->post->create();
self::$post_id = $factory->post->create();
}

public static function tear_down_after_class() {
Expand Down

0 comments on commit 4d4917b

Please sign in to comment.