mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 03:57:13 +01:00
unit->game tests, /tg/ assertions and allocations (#27646)
* unit->game tests, /tg/ assertions and allocations * whoopsies * fix lint
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
// Unit test to check SQL version has been updated properly.,
|
||||
/datum/game_test/sql_version/Run()
|
||||
// Check if the SQL version set in the code is equal to the CI DB config
|
||||
TEST_ASSERT_EQUAL(GLOB.configuration.database.version, SQL_VERSION, "SQL version error. You may need to update the example config.")
|
||||
TEST_ASSERT_EQUAL(SSdbcore.total_errors, 0, "SQL errors occurred on startup.")
|
||||
Reference in New Issue
Block a user