Skip to content

Commit

Permalink
Updating unit test for asserting return from private methods
Browse files Browse the repository at this point in the history
  • Loading branch information
khushboo-singhvi committed Oct 23, 2024
1 parent 416e397 commit f5b530d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Test/Unit/Helper/PaymentResponseHandlerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ protected function setUp(): void

$this->paymentResponseMockForFactory = $this->createMock(Collection::class);

$this->paymentResponseCollectionFactoryMock = $this->createMock(CollectionFactory::class);
$this->paymentResponseCollectionFactoryMock = $this->createGeneratedMock(CollectionFactory::class, ['create']);

$orderHistory = $this->createMock(History::class);
$orderHistory->method('setStatus')->willReturnSelf();
Expand Down

0 comments on commit f5b530d

Please sign in to comment.