Add currency tests.

This commit is contained in:
James Cole
2015-04-05 20:47:19 +02:00
parent 22ab9ebb2f
commit 293cd72001
6 changed files with 390 additions and 34 deletions

View File

@@ -21,6 +21,18 @@ class CurrencyFormRequest extends Request
return Auth::check();
}
/**
* @return array
*/
public function getCurrencyData()
{
return [
'name' => $this->get('name'),
'code' => $this->get('code'),
'symbol' => $this->get('symbol'),
];
}
/**
* @return array
*/