Skip to content

Commit

Permalink
Fix tests for unset status on success
Browse files Browse the repository at this point in the history
  • Loading branch information
jjatria committed May 9, 2024
1 parent c508db6 commit cff2f23
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions t/basic.t
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@ subtest 'Static URL' => sub {
}, 'Span created as expected';

span_calls [
set_status => [ SPAN_STATUS_OK ],
set_attribute => [ 'http.response.status_code', 200 ],
end => [],
], 'Expected calls on span';
Expand Down Expand Up @@ -153,7 +152,6 @@ subtest 'Forward' => sub {
}, 'Span created as expected';

span_calls [
set_status => [ SPAN_STATUS_OK ],
set_attribute => [ 'http.response.status_code', 200 ],
end => [],
], 'Expected calls on span';
Expand Down Expand Up @@ -187,7 +185,6 @@ subtest 'Pass' => sub {
}, 'Span created as expected';

span_calls [
set_status => [ SPAN_STATUS_OK ],
set_attribute => [ 'http.response.status_code', 200 ],
end => [],
], 'Expected calls on span';
Expand Down Expand Up @@ -223,7 +220,6 @@ subtest 'Async' => sub {
}, 'Span created as expected';

span_calls [
set_status => [ SPAN_STATUS_OK ],
set_attribute => [ 'http.response.status_code', 200 ],
end => [],
], 'Expected calls on span';
Expand Down Expand Up @@ -256,7 +252,6 @@ subtest 'With placeholder' => sub {
}, 'Span created as expected';

span_calls [
set_status => [ SPAN_STATUS_OK ],
set_attribute => [ 'http.response.status_code', 200 ],
end => [],
], 'Expected calls on span';
Expand Down

0 comments on commit cff2f23

Please sign in to comment.