diff --git a/test/runtests.jl b/test/runtests.jl index f359b08cacaa4519e6243ec225f715d2ce31e222..a37bcd80fe6e1e4cef44138ccd8d4bc2d7fecf70 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -148,9 +148,12 @@ using CaosDB # @test CaosDB.Entity.get_value( # CaosDB.Entity.get_properties(rec_with_parent_and_props)[1], # ) == "2" - @test CaosDB.Entity.get_datatype( + type, is_ref, is_list = CaosDB.Entity.get_datatype( CaosDB.Entity.get_properties(rec_with_parent_and_props)[2], - )[1] == "TEXT" + ) + @test type == "TEXT" + @test is_ref == false + @test is_list == false @test CaosDB.Entity.get_id( CaosDB.Entity.get_properties(rec_with_parent_and_props)[2], ) == "id_of_property_2"