mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-01 04:44:34 -04:00
fixes for tesT
This commit is contained in:
parent
d4ed6fddb4
commit
1241f14063
@ -49,11 +49,10 @@ class AccountTest extends TestCase
|
|||||||
'terms_of_service' => 1
|
'terms_of_service' => 1
|
||||||
];
|
];
|
||||||
|
|
||||||
$response = $this->post('/signup', $data);
|
$response = $this->post('/signup', $data, ['X-API-SECRET' => 'password']);
|
||||||
|
|
||||||
|
$response->assertStatus(200);
|
||||||
|
|
||||||
//$response->assertStatus(200);
|
|
||||||
//
|
|
||||||
$this->assertTrue(true);
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -63,8 +62,8 @@ class AccountTest extends TestCase
|
|||||||
$data = [
|
$data = [
|
||||||
'first_name' => $this->faker->firstName,
|
'first_name' => $this->faker->firstName,
|
||||||
'last_name' => $this->faker->lastName,
|
'last_name' => $this->faker->lastName,
|
||||||
'name' => $this->faker->company,
|
'name' => $this->faker->company,
|
||||||
'email' => $this->faker->unique()->safeEmail,
|
'email' => $this->faker->unique()->safeEmail,
|
||||||
'password' => 'ALongAndBrilliantPassword123',
|
'password' => 'ALongAndBrilliantPassword123',
|
||||||
'privacy_policy' => 1,
|
'privacy_policy' => 1,
|
||||||
'terms_of_service' => 1
|
'terms_of_service' => 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user