Create an abstract class for schemas
Change-Id: I0845e8fa11db68add75bed40d44779f67c0a33aa
diff --git a/tests/leaf_editing.cpp b/tests/leaf_editing.cpp
index 9ae2d97..b8c5591 100644
--- a/tests/leaf_editing.cpp
+++ b/tests/leaf_editing.cpp
@@ -9,11 +9,11 @@
#include "trompeloeil_catch.h"
#include "ast_commands.hpp"
#include "parser.hpp"
-#include "schema.hpp"
+#include "static_schema.hpp"
TEST_CASE("leaf editing")
{
- auto schema = std::make_shared<Schema>();
+ auto schema = std::make_shared<StaticSchema>();
schema->addContainer("", "contA");
schema->addLeaf("", "leafString", yang::LeafDataTypes::String);
schema->addLeaf("", "leafDecimal", yang::LeafDataTypes::Decimal);