Skip to content

Commit

Permalink
Attempt to fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
manzoorwanijk committed Dec 12, 2024
1 parent e978653 commit a771347
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -255,13 +255,15 @@ public function test_publicize_get_all_connections_for_user() {
'id_number' => array(
'connection_data' => array(
'user_id' => 0,
'id' => '456',
),
),
);
$twitter_connection = array(
'id_number_2' => array(
'connection_data' => array(
'user_id' => 1,
'id' => '456',
),
),
);
Expand Down

0 comments on commit a771347

Please sign in to comment.