Skip to content

Commit b20c9fb

Browse files
authored
remove redis flush from tests (#367)
1 parent d6ecb78 commit b20c9fb

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

test/functional/PIBecomeApproveTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,6 @@ public function testApprovePI()
6767
$this->requestGroupCreation();
6868
$this->assertRequestedPIGroup(true);
6969

70-
$REDIS->flushAll(); // regression test: flush used to break requests
71-
7270
$approve_uid = $SSO["user"];
7371
switchUser(...getAdminUser());
7472
$this->approveGroup($approve_uid);

test/functional/PiMemberApproveTest.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,6 @@ public function testApproveMemberByPI()
114114
$this->assertTrue($pi_group->requestExists($USER));
115115
$this->assertRequestedMembership(true, $gid);
116116

117-
$REDIS->flushAll(); // regression test: flush used to break requests
118-
119117
$approve_uid = $SSO["user"];
120118
switchUser(...$pi_user_args);
121119
$this->approveUserByPI($approve_uid);
@@ -176,8 +174,6 @@ public function testApproveMemberByAdmin()
176174
$this->assertTrue($pi_group->requestExists($USER));
177175
$this->assertRequestedMembership(true, $gid);
178176

179-
$REDIS->flushAll(); // regression test: flush used to break requests
180-
181177
$approve_uid = $SSO["user"];
182178
switchUser(...getAdminUser());
183179
$this->approveUserByAdmin($gid, $approve_uid);

0 commit comments

Comments
 (0)