added missing types
This commit is contained in:
parent
936ba06458
commit
73c13026d8
|
|
@ -42,8 +42,10 @@ TEST_CASE("Generate columns from object", "[column][generator]") {
|
||||||
TEST_CASE("Generate columns for object with has many relation", "[column][generator][relation]") {
|
TEST_CASE("Generate columns for object with has many relation", "[column][generator][relation]") {
|
||||||
using namespace matador::test;
|
using namespace matador::test;
|
||||||
schema s("main");
|
schema s("main");
|
||||||
auto result = s.attach<product>("product")
|
auto result = s.attach<supplier>("supplier")
|
||||||
|
.and_then( [&s] { return s.attach<category>("categories"); } )
|
||||||
.and_then( [&s] { return s.attach<order_details>("order_details"); } )
|
.and_then( [&s] { return s.attach<order_details>("order_details"); } )
|
||||||
|
.and_then( [&s] { return s.attach<product>("products"); } )
|
||||||
.and_then( [&s] { return s.attach<order>("order"); } );
|
.and_then( [&s] { return s.attach<order>("order"); } );
|
||||||
REQUIRE(result);
|
REQUIRE(result);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue