File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -75,7 +75,6 @@ protected function assertValidProject($project): void
7575 $ this ->assertNotNull ($ project ->getData ()->getLastUpdated ());
7676 $ this ->assertNotNull ($ project ->getData ()->getVisibility ());
7777 $ this ->assertNotNull ($ project ->getData ()->getDescription ());
78- $ this ->assertNotNull ($ project ->getData ()->getUserActions ());
7978 $ this ->assertNotNull ($ project ->getData ()->getSettings ());
8079 }
8180
@@ -354,6 +353,8 @@ public function testGetDailyProjectStats()
354353 {
355354 if (!getenv ("HANGAR_API_KEY " )) {
356355 $ this ->markTestSkipped ("This test requires authentication. " );
356+ // no API key provided will result in a 403 Forbidden error:
357+ // You need the is_subject_member permission to view project statistics
357358 }
358359
359360 $ project = $ this ->apiClient ->getProject ("mclogs " );
You can’t perform that action at this time.
0 commit comments