mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-12-27 23:20:20 +00:00
The query is supposed to get SMALLER
Still better than 9 different queries all with 1 minor change i guess.
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
#include "dServer.h"
|
||||
#include "EntityInfo.h"
|
||||
#include "EntityManager.h"
|
||||
#include "Database.h"
|
||||
#include "dConfig.h"
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
@@ -32,6 +33,7 @@ protected:
|
||||
Game::logger = new dLogger("./testing.log", true, true);
|
||||
Game::server = new dServerMock();
|
||||
Game::config = new dConfig("worldconfig.ini");
|
||||
Database::Connect(Game::config->GetValue("mysql_host"), Game::config->GetValue("mysql_database"), Game::config->GetValue("mysql_username"), Game::config->GetValue("mysql_password"));
|
||||
}
|
||||
|
||||
void TearDownDependencies() {
|
||||
|
||||
Reference in New Issue
Block a user