Skip to content
Snippets Groups Projects
Commit 1bb82dec authored by Alexander Kreft's avatar Alexander Kreft
Browse files

TST: add test for add_delete_by_id

parent 01740deb
No related branches found
No related tags found
1 merge request!4F full ak
Pipeline #12593 failed
......@@ -180,4 +180,17 @@ end
end
@testset "Test delete by id" begin
ent_with_name = execute_query("FIND TestEnt")
single_insert_transaction = create_transaction()
add_delete_by_id(single_insert_transaction, get_id(ent_with_name[1]))
execute(single_insert_transaction)
results = get_results(single_insert_transaction)
@test length(results) == 1
@test has_errors(results[1]) == false
@test get_id(results[1]) != ""
end
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment