summaryrefslogtreecommitdiff
path: root/domain
diff options
context:
space:
mode:
Diffstat (limited to 'domain')
-rw-r--r--domain/CMakeLists.txt3
-rw-r--r--domain/tests/participant.cpp2
2 files changed, 3 insertions, 2 deletions
diff --git a/domain/CMakeLists.txt b/domain/CMakeLists.txt
index 5e4201c..2de847a 100644
--- a/domain/CMakeLists.txt
+++ b/domain/CMakeLists.txt
@@ -38,9 +38,10 @@ add_executable("domain-tests"
)
target_link_libraries("domain-tests"
- "Catch2::Catch2WithMain"
+ "Catch2::Catch2"
"turns::domain"
+ "turns::glib-test-main"
)
catch_discover_tests("domain-tests") \ No newline at end of file
diff --git a/domain/tests/participant.cpp b/domain/tests/participant.cpp
index 7220209..b7429aa 100644
--- a/domain/tests/participant.cpp
+++ b/domain/tests/participant.cpp
@@ -1,13 +1,13 @@
#include "turns/domain/participant.hpp"
#include <catch2/catch_test_macros.hpp>
+#include <glibmm/init.h>
namespace turns::domain::tests
{
TEST_CASE("A participant")
{
-
auto constexpr constructed_name = "Vana Thistletop";
auto constexpr constructed_order = 17;
auto instance = participant::create(constructed_name, constructed_order);