/**
* Test isValidColumnType()
*
* @return void
*/
public function testIsValidColumnType()
{
// The following column type should fail
$types = ['purpleRain', 'masterBlaster'];
foreach ($types as $type) {
$this->assertFalse($this->makeMigrationJson->isValidColumnType($type), "'{$type}' should not be a valid column type");
}
// The following column types should pass
$types = ['string', 'integer', 'bigInteger', 'morphs', 'mediumText', 'timestamp'];
foreach ($types as $type) {
$this->assertTrue($this->makeMigrationJson->isValidColumnType($type), "'{$type}' should be a valid column type");
}
}