Skip to content

Commit 39a1d5c

Browse files
committed
Simply this test
1 parent 77dde3e commit 39a1d5c

2 files changed

Lines changed: 5 additions & 17 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -710,3 +710,4 @@ See [http://learn.userfrosting.com/upgrading/40-to-41](Upgrading 4.0.x to 4.1.x
710710
[#950]: https://github.com/userfrosting/UserFrosting/issues/950
711711

712712
[v4.2.0]: https://github.com/userfrosting/UserFrosting/compare/v4.1.22...v4.2.0
713+
[v4.2.1]: https://github.com/userfrosting/UserFrosting/compare/v4.2.0...v4.2.1

app/sprinkles/core/tests/Integration/DatabaseMigratorServiceTest.php

Lines changed: 4 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -9,31 +9,18 @@
99

1010
namespace UserFrosting\Sprinkle\Core\Tests\Integration;
1111

12-
use UserFrosting\Sprinkle\Core\Tests\TestDatabase;
12+
use UserFrosting\Sprinkle\Core\Database\Migrator\Migrator;
1313
use UserFrosting\Tests\TestCase;
1414

1515
/**
16-
* Tests for the Migrator Service
16+
* Tests for the Migrator Service
1717
*
18-
* @author Louis Charette
18+
* @author Louis Charette
1919
*/
2020
class DatabaseMigratorServiceTest extends TestCase
2121
{
22-
use TestDatabase;
23-
24-
/**
25-
* {@inheritdoc}
26-
*/
27-
public function setUp()
28-
{
29-
parent::setUp();
30-
31-
// Setup test database
32-
$this->setupTestDatabase();
33-
}
34-
3522
public function testMigratorService()
3623
{
37-
$this->assertInstanceOf('UserFrosting\Sprinkle\Core\Database\Migrator\Migrator', $this->ci->migrator);
24+
$this->assertInstanceOf(Migrator::class, $this->ci->migrator);
3825
}
3926
}

0 commit comments

Comments
 (0)