public function testAddingEnumWithDefaultValue() { $blueprint = new Blueprint('users'); $blueprint->enum('foo', ['bar', 'baz'])->default('bar'); $statements = $blueprint->toSql($this->getConnection(), $this->getGrammar()); $this->assertEquals(1, count($statements)); $this->assertEquals('alter table users add ( foo varchar2(255) default \'bar\' not null check (foo in (\'bar\', \'baz\')) )', $statements[0]); }