Hi I just download phpunit.phar in my laravel project (which I already developed partly). I started by doing a simple
php phpunit.phar
but it outputs things like whole viewfiles with at the end:
{"error":{"type":"ErrorException","message":"Undefined variable: currency","file":"C:\\wamp\\www\\project.dev\\app\\views\\front\\settings.php","line":79}}
This is not even a test and the code works when testing out in the browser. I am also using the default phpunit configuration file shipped with laravel.
EDIT: the code
<label class="radio">
<input type="radio" name="settings_currency" id="set_curr_<?=$currency->id?>" value="<?=$currency->id?>" checked>
<span class="symbol"><?=$currency->symbol?></span>
<?=$currency->name?>
<span><?=$currency->abbr?></span>
</label>