From 60e040245551d820a5dfcee538188c1058532e54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wiesner=20Andr=C3=A1s?= Date: Wed, 25 Sep 2024 08:57:22 +0200 Subject: [PATCH] - TestMgr foundations --- class/GameMgr.php | 4 +++- class/GroupMgr.php | 2 ++ class/TestMgr.php | 39 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 44 insertions(+), 1 deletion(-) create mode 100644 class/TestMgr.php diff --git a/class/GameMgr.php b/class/GameMgr.php index bd45327..359c98a 100644 --- a/class/GameMgr.php +++ b/class/GameMgr.php @@ -1,5 +1,7 @@ patchUpGameDate(); + //$this->patchUpGameDate(); $this->gameMgr->updateGame($this); } diff --git a/class/GroupMgr.php b/class/GroupMgr.php index 2d2b163..a2af929 100644 --- a/class/GroupMgr.php +++ b/class/GroupMgr.php @@ -1,5 +1,7 @@ db = new \SleekDB\Store(TESTDB, DATADIR, ["timeout" => false]); + } + + // Get test by ID. + function getTest(string $testid): Test|null + { + + } +} \ No newline at end of file