Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15460672
D16137.id38823.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
995 B
Referenced Files
None
Subscribers
None
D16137.id38823.diff
View Options
diff --git a/src/applications/project/__tests__/PhabricatorProjectCoreTestCase.php b/src/applications/project/__tests__/PhabricatorProjectCoreTestCase.php
--- a/src/applications/project/__tests__/PhabricatorProjectCoreTestCase.php
+++ b/src/applications/project/__tests__/PhabricatorProjectCoreTestCase.php
@@ -1099,6 +1099,18 @@
$column = $this->refreshColumn($user, $column);
$this->assertTrue((bool)$column);
+ // This test has been failing randomly in a way that doesn't reproduce
+ // on any host, so add some extra assertions to try to nail it down.
+ $board = $this->refreshProject($board, $user, true);
+ $this->assertTrue((bool)$board);
+ $this->assertTrue($board->isUserMember($user->getPHID()));
+
+ $can_view = PhabricatorPolicyFilter::hasCapability(
+ $user,
+ $column,
+ PhabricatorPolicyCapability::CAN_VIEW);
+ $this->assertTrue($can_view);
+
$can_edit = PhabricatorPolicyFilter::hasCapability(
$user,
$column,
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Apr 2, 1:01 AM (6 d, 8 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7704725
Default Alt Text
D16137.id38823.diff (995 B)
Attached To
Mode
D16137: Try to get to the bottom of the sporradic test failures in testColumnExtendedPolicies()
Attached
Detach File
Event Timeline
Log In to Comment