@@ -209,7 +209,7 @@ public function testGetOrCreateUserByEmailWithExistingUsers() {
209
209
public function testCreateSiteWithSubdomain () {
210
210
self ::$ is_subdomain = true ;
211
211
$ state = WP_State::get_instance ();
212
- $ site = $ this ->api ->create_site ('Site Title ' , 'domain ' , 2 );
212
+ $ site = $ this ->api ->create_site ('Site Title ' , 'domain ' , 2 , array () );
213
213
$ this ->assertNotEquals (false , $ site );
214
214
$ this ->assertObjectHasAttribute ('blog_id ' , $ site );
215
215
$ this ->assertObjectHasAttribute ('domain ' , $ site );
@@ -221,7 +221,7 @@ public function testCreateSiteWithSubdomain() {
221
221
public function testCreateSiteWithSubdirectory () {
222
222
self ::$ is_subdomain = false ;
223
223
$ state = WP_State::get_instance ();
224
- $ site = $ this ->api ->create_site ('Site Title ' , 'domain ' , 2 );
224
+ $ site = $ this ->api ->create_site ('Site Title ' , 'domain ' , 2 , array () );
225
225
$ this ->assertNotEquals (false , $ site );
226
226
$ this ->assertObjectHasAttribute ('blog_id ' , $ site );
227
227
$ this ->assertObjectHasAttribute ('domain ' , $ site );
0 commit comments