diff --git a/projects/plugins/jetpack/tests/php/core-api/wpcom-fields/test-post-fields-publicize-connections.php b/projects/plugins/jetpack/tests/php/core-api/wpcom-fields/test-post-fields-publicize-connections.php index d0fb64c39ff84..e7a5357e53218 100644 --- a/projects/plugins/jetpack/tests/php/core-api/wpcom-fields/test-post-fields-publicize-connections.php +++ b/projects/plugins/jetpack/tests/php/core-api/wpcom-fields/test-post-fields-publicize-connections.php @@ -153,7 +153,7 @@ public static function setup_connections_wpcom() { public static function setup_connections_jetpack() { set_transient( - 'jetpack_social_connections', + 'jetpack_social_connection_list', array( // Normally connected facebook. 'facebook' => array( diff --git a/projects/plugins/jetpack/tests/php/modules/publicize/test_class.publicize.php b/projects/plugins/jetpack/tests/php/modules/publicize/test_class.publicize.php index 5c89e913f5466..236c34466d414 100644 --- a/projects/plugins/jetpack/tests/php/modules/publicize/test_class.publicize.php +++ b/projects/plugins/jetpack/tests/php/modules/publicize/test_class.publicize.php @@ -255,6 +255,7 @@ public function test_publicize_get_all_connections_for_user() { 'id_number' => array( 'connection_data' => array( 'user_id' => 0, + 'id' => '456', ), ), ); @@ -262,6 +263,7 @@ public function test_publicize_get_all_connections_for_user() { 'id_number_2' => array( 'connection_data' => array( 'user_id' => 1, + 'id' => '456', ), ), );