Skip to content

Commit

Permalink
fix psalm
Browse files Browse the repository at this point in the history
  • Loading branch information
chriskapp committed Jul 31, 2024
1 parent deab6d3 commit 90aeb60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Service/Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ public function update(string $testId, Model\Backend\Test $test, UserContext $co
$config = $test->getConfig();
$body = $config?->getBody();

$existing->setStatus($test->getStatus());
$existing->setStatus($test->getStatus() ?? $existing->getStatus());
$existing->setUriFragments($config?->getUriFragments());
$existing->setParameters($config?->getParameters());
$existing->setHeaders($config?->getHeaders());
Expand Down

0 comments on commit 90aeb60

Please sign in to comment.