summaryrefslogtreecommitdiff
path: root/domain/tests/participant.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'domain/tests/participant.cpp')
-rw-r--r--domain/tests/participant.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/domain/tests/participant.cpp b/domain/tests/participant.cpp
index e9e7c46..268b395 100644
--- a/domain/tests/participant.cpp
+++ b/domain/tests/participant.cpp
@@ -22,24 +22,24 @@ namespace turns::domain::tests
SECTION("the name can be read")
{
- REQUIRE(instance.property_name() == constructed_name);
+ REQUIRE(instance.get_name() == constructed_name);
}
SECTION("the name can be changed")
{
- instance.property_name() = "replaced";
- REQUIRE(instance.property_name() == "replaced");
+ instance.set_name("replaced");
+ REQUIRE(instance.get_name() == "replaced");
}
SECTION("the priority can be read")
{
- REQUIRE(instance.property_priority() == constructed_priority);
+ REQUIRE(instance.get_priority() == constructed_priority);
}
SECTION("the priority can be changed")
{
- instance.property_priority() = 8;
- REQUIRE(instance.property_priority() == 8);
+ instance.set_priority(8);
+ REQUIRE(instance.get_priority() == 8);
}
SECTION("can be compared with another participant")