Skip to content

Commit

Permalink
Fixed saga test case
Browse files Browse the repository at this point in the history
  • Loading branch information
PandaLIU-1111 committed Oct 23, 2022
1 parent 849d89c commit ddffc5b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/Cases/SagaTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ public function testInit()

$saga->init('test');
$this->assertSame('test', TransContext::getGid());
$this->cleanTransContext();
}

public function testAddUseHttp()
Expand Down Expand Up @@ -131,6 +132,8 @@ public function cleanTransContext()
// Clean TransContext
TransContext::setSteps([]);
TransContext::setPayloads([]);
TransContext::setGid('');
TransContext::setBinPayloads([]);
}

}

0 comments on commit ddffc5b

Please sign in to comment.