summaryrefslogtreecommitdiff
path: root/test/core/model/DomainTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/core/model/DomainTest.cpp')
-rw-r--r--test/core/model/DomainTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/core/model/DomainTest.cpp b/test/core/model/DomainTest.cpp
index dae3ba4..60a7065 100644
--- a/test/core/model/DomainTest.cpp
+++ b/test/core/model/DomainTest.cpp
@@ -138,7 +138,7 @@ TEST(Descriptor, pathToAdvanced)
// Our root class A
Rooted<StructuredClass> A{new StructuredClass(
mgr, "A", domain, any, {nullptr}, {nullptr}, false, true)};
- domain->addStructuredClass(book);
+ domain->addStructuredClass(A);
// We also create a field for it.
Rooted<FieldDescriptor> A_field{new FieldDescriptor(mgr, A)};
A->addFieldDescriptor(A_field);