firefly-iii/app/tests/factories/TransactionCurrency.php

17 lines
539 B
PHP
Raw Normal View History

2014-11-25 14:04:00 -06:00
<?php
League\FactoryMuffin\Facade::define(
'TransactionCurrency', [
2015-01-01 06:32:31 -06:00
'code' => function () {
$code = '';
for ($i = 0; $i < 3; $i++) {
$code .= chr(rand(65, 90));
}
return $code;
},
'name' => 'word',
'symbol' => '$'
]
2014-11-25 14:04:00 -06:00
);