Skip to content

Commit

Permalink
Add tests to validate issue #226
Browse files Browse the repository at this point in the history
Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>
  • Loading branch information
crynobone committed Aug 22, 2018
1 parent dcbd202 commit a981d06
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tests/Databases/MigrateDatabaseTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

0 comments on commit a981d06

Please sign in to comment.