OrganizationProfilesTest.php 537 B

1234567891011121314151617
  1. <?php
  2. namespace App\Tests\Application\Profile;
  3. use App\Tests\Application\OtWebTestCase;
  4. class OrganizationProfilesTest extends OtWebTestCase
  5. {
  6. public function testGetAccessId(): void
  7. {
  8. $this->logger->info("\033[1;34mStarting test... get organization profile by ID\033[0m");
  9. $this->loginAs($this->user);
  10. $this->get('/api/organization_profiles/1');
  11. $this->assertResponseStatusCodeSame(200);
  12. $this->logger->info("\033[1;32mTest 'get organization profile by ID' succeeded\033[0m");
  13. }
  14. }