Skip to content

Commit ab71493

Browse files
committed
fix tests without asserts
1 parent 65154ae commit ab71493

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

test/Unit/EventTest.php

+2
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,8 @@ public function test_refund()
265265

266266
public function test_refund_full_succeeds_without_items()
267267
{
268+
$this->expectNotToPerformAssertions();
269+
268270
$refund = Event\Refund::new()->setTransactionId(1)->isFullRefund(true);
269271

270272
$this->analytics->addEvent($refund);

test/Unit/UserDataTest.php

+2
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ public function test_user_data_is_fillable()
3939

4040
public function test_user_data_is_sendable()
4141
{
42+
$this->expectNotToPerformAssertions();
43+
4244
$uad = $this->analytics->userdata();
4345
$uad->setEmail("[email protected]");
4446
$uad->setPhone(4500000000);

0 commit comments

Comments
 (0)