Skip to content

Commit 9a0e060

Browse files
authored
Merge pull request #7 from aternosorg/fix-tests
Fix tests
2 parents f20976a + d4280aa commit 9a0e060

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/Client/ClientTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff 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");

0 commit comments

Comments
 (0)