1
0
Fork 0
mirror of https://github.com/archtechx/money.git synced 2025-12-13 11:44:02 +00:00

remove pest()

This commit is contained in:
Samuel Štancl 2025-03-11 17:31:46 +01:00
parent e30211058a
commit 578c5c48ba
3 changed files with 4 additions and 9 deletions

View file

@ -170,7 +170,7 @@ test('an exception is thrown if none of the currencies match the prefix and suff
currencies()->remove(USD::class);
pest()->expectException(CannotExtractCurrencyException::class);
$this->expectException(CannotExtractCurrencyException::class);
Money::fromFormatted($formatted);
});
@ -178,7 +178,7 @@ test('an exception is thrown if multiple currencies are using the same prefix an
currencies()->add(['code' => 'USD2', 'name' => 'USD2', 'prefix' => '$']);
$money = money(1000);
pest()->expectException(CannotExtractCurrencyException::class);
$this->expectException(CannotExtractCurrencyException::class);
Money::fromFormatted($money->formatted());
});