Skip to content

Commit b797af4

Browse files
committed
test cases moved to other PR
1 parent b072e4b commit b797af4

File tree

1 file changed

+0
-33
lines changed

1 file changed

+0
-33
lines changed

test/functional/RegisterUserTest.php

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
<?php
22

33
use PHPUnit\Framework\Attributes\DataProvider;
4-
use UnityWebPortal\lib\UnityHTTPDMessageLevel;
5-
use UnityWebPortal\lib\UserFlag;
64

75
class RegisterUserTest extends UnityWebPortalTestCase
86
{
@@ -47,35 +45,4 @@ public function testRegisterUserAndCreateOrg($nickname, $expected_uid_gid)
4745
ensureUserDoesNotExist($uid);
4846
}
4947
}
50-
51-
// FIXME uncomment
52-
// public function testResurrectNoDisabledGroup()
53-
// {
54-
// global $USER;
55-
// $this->switchUser("GhostNotPI");
56-
// $this->assertTrue($USER->getFlag(UserFlag::GHOST));
57-
// try {
58-
// $this->register();
59-
// $this->assertMessageExists(UnityHTTPDMessageLevel::INFO, "/.*/", "/resurrected/");
60-
// $this->assertFalse($USER->getFlag(UserFlag::GHOST));
61-
// } finally {
62-
// $USER->setFlag(UserFlag::GHOST, true);
63-
// }
64-
// }
65-
66-
// public function testResurrectWithDisabledGroup()
67-
// {
68-
// global $USER;
69-
// $this->switchUser("GhostOwnerOfDisabledPIGroup");
70-
// $this->assertTrue($USER->getFlag(UserFlag::GHOST));
71-
// $this->assertFalse($USER->isPI());
72-
// try {
73-
// $this->register();
74-
// $this->assertMessageExists(UnityHTTPDMessageLevel::INFO, "/.*/", "/resurrected/");
75-
// $this->assertFalse($USER->getFlag(UserFlag::GHOST));
76-
// $this->assertFalse($USER->isPI());
77-
// } finally {
78-
// $USER->setFlag(UserFlag::GHOST, true);
79-
// }
80-
// }
8148
}

0 commit comments

Comments
 (0)