I am new to laravel and php unit testing. I am trying to run a very basic test in laravel and getting the error below while running phpunit through command line:
Caused by PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'after
impressions,clicksint not null,clicks_changefloat(4, 2) not null' at line 1
class ExampleTest extends TestCase {
/**
* A basic functional test example.
*
* @return void
*/
public function testStats()
{
$result = true;
$this->assertEquals(true, $result);
}
}
Aucun commentaire:
Enregistrer un commentaire