renamed initialize_executor to initialize
This commit is contained in:
@@ -66,7 +66,7 @@ TEST_CASE_METHOD(SessionFixture, "Session delete test", "[session][delete]") {
|
||||
.and_then([this] { return schema.create(db); } );
|
||||
REQUIRE(res.is_ok());
|
||||
|
||||
schema.initialize_executor(ses);
|
||||
schema.initialize(ses);
|
||||
|
||||
auto result = ses.insert(make_object<airplane>(1, "Boeing", "A380"));
|
||||
REQUIRE(result.is_ok());
|
||||
@@ -165,7 +165,7 @@ TEST_CASE_METHOD(SessionFixture, "Use session to find all objects with one-to-ma
|
||||
.and_then([this] { return schema.create(db); } );
|
||||
REQUIRE(result.is_ok());
|
||||
|
||||
schema.initialize_executor(ses);
|
||||
schema.initialize(ses);
|
||||
std::vector authors {
|
||||
make_object<author>(1, "Michael", "Crichton", "23.10.1942", 1975, true),
|
||||
make_object<author>( 2, "Steven", "King", "21.9.1947", 1956, false)
|
||||
|
||||
Reference in New Issue
Block a user