Skip to content

Commit

Permalink
Code review fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
TomaszLach2 committed Oct 26, 2023
1 parent 46f26df commit 49a3d15
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions tests/Unit/ChannelContext/ChannelContextTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ public function testThrowExceptionWhenChannelIsNull(): void
//Given
$channelCode = 'channel_code';

//Then
$this->expectException(ChannelNotFoundException::class);

//Then
Expand Down
4 changes: 2 additions & 2 deletions tests/Unit/Manager/UserSubscriptionManagerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,12 @@ public function testFactory(): void

public function testHash(): void
{
//When
//Given
$endpoint = 'example.com';
$user = $this->createMock(ShopUser::class);
$expectedHash = md5($endpoint);

//Given
//When
$hashedEndpoint = $this->userSubscriptionManager->hash($endpoint, $user);

//Then
Expand Down

0 comments on commit 49a3d15

Please sign in to comment.