Skip to content

Commit bae5d13

Browse files
committed
fixed testing
1 parent f849769 commit bae5d13

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

tests/Feature/Logic/NetifydLicenceRepositoryTest.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
'*' => Http::response(json_encode(['error' => 'error']), 500),
3434
]);
3535
$repository->createLicence($licenceType);
36-
})->throws('Could not create licence from netifyd:')
36+
})->throws('Could not create licence on netifyd:')
3737
->with(NetifydLicenceType::cases());
3838

3939
it('handles failing to renew licence', function (NetifydLicenceType $licenceType) {
@@ -42,7 +42,5 @@
4242
'*' => Http::response(json_encode(['error' => 'error']), 500),
4343
]);
4444
$repository->renewLicence($licenceType, 'dummy');
45-
})->throws('Could not renew licence from netifyd:')
45+
})->throws('Could not renew licence on netifyd:')
4646
->with(NetifydLicenceType::cases());
47-
48-

0 commit comments

Comments
 (0)