Skip to content

Commit e32313e

Browse files
committed
Added test for PR #998
1 parent 61755e0 commit e32313e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/sprinkles/core/tests/Integration/Database/Migrator/MigrationLocatorTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ public function testGetMigrations()
9090
new Resource($resourceStream, $resourceAccountLocation, 'one/CreatePasswordResetsTable.php'),
9191
new Resource($resourceStream, $resourceAccountLocation, 'two/CreateFlightsTable.php'),
9292
new Resource($resourceStream, $resourceAccountLocation, 'CreateMainTable.php'),
93+
new Resource($resourceStream, $resourceAccountLocation, 'README.md'), // This shoudn't be returned by the migrator
9394
]);
9495

9596
// Create a new MigrationLocator instance with our simulated ResourceLocation
@@ -109,7 +110,6 @@ public function testGetMigrations()
109110
];
110111

111112
// Test results match expectations
112-
$this->assertCount(8, $results);
113113
$this->assertEquals($expected, $results);
114114

115115
return $locator;

0 commit comments

Comments
 (0)