Skip to content

Commit f7ef3cc

Browse files
committed
Fix PHPUnit test warning for missing class
Renamed the permissions client test file so the filename matches the class name, eliminating PHPUnit’s “Class … cannot be found” warning
1 parent 5071937 commit f7ef3cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Services/PermissionClientTest.php renamed to tests/Services/PermissionsClientTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,6 @@ public function retrieves_access_for_any_user_model()
6464

6565
$this->assertEquals(['admin'], $access['roles']);
6666
$this->assertEquals(['edit.posts'], $access['permissions']);
67-
$this->assertSame('/auth/permissions/5', $this->gateway->getCalls()[0]['uri']);
67+
$this->assertSame('/permissions/5', $this->gateway->getCalls()[0]['uri']);
6868
}
6969
}

0 commit comments

Comments
 (0)