Update .env.example vars

This commit is contained in:
David Bomba 2024-09-16 19:44:22 +10:00
parent ab9b96d7f2
commit c94fc8a6da

View File

@ -63,11 +63,11 @@ class CompanyTest extends TestCase
$response = $this->withHeaders([ $response = $this->withHeaders([
'X-API-SECRET' => config('ninja.api_secret'), 'X-API-SECRET' => config('ninja.api_secret'),
'X-API-TOKEN' => $this->token, 'X-API-TOKEN' => $this->token,
])->putJson('/api/v1/companies/'.$this->encodePrimaryKey($this->company->id), $company_update); ])->putJson('/api/v1/companies/'.$this->company->hashed_id, $company_update);
$response->assertStatus(200); $response->assertStatus(200);
$arr = $response->json();
$this->assertEquals($safeEmail, $response->json('data.expense_mailbox')); $this->assertEquals($safeEmail, $arr['data']['expense_mailbox']);
// Test invalid email address // Test invalid email address
$company_update = [ $company_update = [