From 5822224c672489cd779ebb17ce676a1ac961c16b Mon Sep 17 00:00:00 2001 From: marcoc Date: Thu, 12 Oct 2023 16:38:51 +0200 Subject: [PATCH] try unit test creating csv -not working --- tests/UnitTest.php | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 tests/UnitTest.php diff --git a/tests/UnitTest.php b/tests/UnitTest.php new file mode 100644 index 0000000..08a7fbb --- /dev/null +++ b/tests/UnitTest.php @@ -0,0 +1,23 @@ +post('/export', array( + 'token' => getenv('GITEA_TOKEN'), + 'from_month' => '10', + 'from_year' => '2023', + 'to_month' => '12', + 'to_year' => '2023' + )); + + $res->assertResponseOk(); + //dd($res); + } +}