mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Most views now show the transaction the current journal/transaction is set in, even if it's not the current default currency. See issue #37
This commit is contained in:
@@ -41,8 +41,8 @@ class CurrencyControllerCest
|
||||
public function delete(FunctionalTester $I)
|
||||
{
|
||||
$I->wantTo('delete a currency');
|
||||
$I->amOnPage('/currency/delete/2');
|
||||
$I->see('Delete currency "US Dollar"');
|
||||
$I->amOnPage('/currency/delete/3');
|
||||
$I->see('Delete currency "Hungarian forint"');
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -51,10 +51,10 @@ class CurrencyControllerCest
|
||||
public function destroy(FunctionalTester $I)
|
||||
{
|
||||
$I->wantTo('destroy a currency');
|
||||
$I->amOnPage('/currency/delete/2');
|
||||
$I->see('Delete currency "US Dollar"');
|
||||
$I->amOnPage('/currency/delete/3');
|
||||
$I->see('Delete currency "Hungarian forint"');
|
||||
$I->submitForm('#destroy', []);
|
||||
$I->see('Currency "US Dollar" deleted');
|
||||
$I->see('Currency "Hungarian forint" deleted');
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user