From 508935ad78aed0a16743b9647c7300f02c4fc40e Mon Sep 17 00:00:00 2001 From: c9s Date: Thu, 16 Apr 2015 11:18:33 +0800 Subject: [PATCH] Fix tests --- tests/LazyRecord/Schema/SchemaDeclare/ColumnTest.php | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/tests/LazyRecord/Schema/SchemaDeclare/ColumnTest.php b/tests/LazyRecord/Schema/SchemaDeclare/ColumnTest.php index 118a9bd99..dbb692dc1 100644 --- a/tests/LazyRecord/Schema/SchemaDeclare/ColumnTest.php +++ b/tests/LazyRecord/Schema/SchemaDeclare/ColumnTest.php @@ -1,20 +1,17 @@ primary() ->integer() ->autoIncrement() ->notNull(); - is('foo',$column->name); - ok($column->primary); - is('integer',$column->type); + $this->assertEquals('foo',$column->name); + $this->assertTrue($column->primary); + $this->assertEquals('int',$column->type); $this->assertFalse($column->null); } }