I'm trying to do unit tests with laravel but get the following error. I've not got to testing the function. In my editor, I see the reference to the class correctly, however phpunit can't find it.
Error: Class 'GoCardlessCheck' not found
my test looks like this
use Illuminate\Foundation\Testing\WithoutMiddleware;
use Illuminate\Foundation\Testing\DatabaseMigrations;
use Illuminate\Foundation\Testing\DatabaseTransactions;
use PHPUnit\Framework\TestCase;
class GoCardlessTest extends TestCase
{
/**
* A basic test example.
*
* @return void
*/
public function testExample()
{
$acc = new GoCardlessCheck();
$acc->CheckAccount('bob','mould','909090','57-77-90');
}
}
GoCardlessCheck? - Prince Lionel N'zi