| 12345678910111213141516171819202122 |
- <?php
- namespace App\Tests\Application\Profile;
- use App\Tests\Application\OtWebTestCase;
- class AccessProfileTest extends OtWebTestCase
- {
- public function testGetAccessId(): void
- {
- $this->loginAs($this->user);
- $this->assertResponseIsSuccessful();
- $this->client->request('GET', '/api/my_profile/1', [], [], ['HTTP_AUTHORIZATION' => 'Bearer ' . $this->securityToken]);
- dd($this->client->getResponse()->getContent());
- // echo "\n";
- // var_dump($this->securityToken);
- // $this->assertResponseIsSuccessful();
- }
- }
|