fix(dynamo): fix test case errors
This commit is contained in:
parent
e467e082f0
commit
9eccfa5cdf
|
@ -291,7 +291,7 @@ t_setup_via_config_and_publish(Config) ->
|
||||||
end,
|
end,
|
||||||
fun(Trace0) ->
|
fun(Trace0) ->
|
||||||
Trace = ?of_kind(dynamo_connector_query_return, Trace0),
|
Trace = ?of_kind(dynamo_connector_query_return, Trace0),
|
||||||
?assertMatch([#{result := ok}], Trace),
|
?assertMatch([#{result := {ok, _}}], Trace),
|
||||||
ok
|
ok
|
||||||
end
|
end
|
||||||
),
|
),
|
||||||
|
@ -328,7 +328,7 @@ t_setup_via_http_api_and_publish(Config) ->
|
||||||
end,
|
end,
|
||||||
fun(Trace0) ->
|
fun(Trace0) ->
|
||||||
Trace = ?of_kind(dynamo_connector_query_return, Trace0),
|
Trace = ?of_kind(dynamo_connector_query_return, Trace0),
|
||||||
?assertMatch([#{result := ok}], Trace),
|
?assertMatch([#{result := {ok, _}}], Trace),
|
||||||
ok
|
ok
|
||||||
end
|
end
|
||||||
),
|
),
|
||||||
|
|
Loading…
Reference in New Issue