fix: env vars handled via conf file, add: functional tests
This commit is contained in:
parent
3d08b14f11
commit
21c4330f16
39 changed files with 416 additions and 172 deletions
|
@ -7,7 +7,7 @@ class UnitTest extends TestCase
|
|||
public function test_export_endpoint_works_for_logged_in_users()
|
||||
{
|
||||
$res = $this->post('/export', array(
|
||||
'token' => getenv('GITEA_TOKEN'),
|
||||
'token' => config('app.gitea_token'),
|
||||
'from_month' => '10',
|
||||
'from_year' => '2023',
|
||||
'to_month' => '12',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue