diff --git a/.gitignore b/.gitignore index fa67e4ae8..bf497f192 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ # PHPUnit /coverage/* +/.phpunit.result.cache diff --git a/tests/Databases/MigrateDatabaseTest.php b/tests/Databases/MigrateDatabaseTest.php index 98cef14c5..69e4b59ee 100644 --- a/tests/Databases/MigrateDatabaseTest.php +++ b/tests/Databases/MigrateDatabaseTest.php @@ -72,5 +72,14 @@ public function it_runs_the_migrations() $this->assertEquals('hello@orchestraplatform.com', $users->email); $this->assertTrue(\Hash::check('123', $users->password)); + + $columns = \Schema::getColumnListing('testbench_users'); + $this->assertEquals([ + 'id', + 'email', + 'password', + 'created_at', + 'updated_at', + ], $columns); } }