-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for custom binary paths (#29)
* Add support for custom binary paths Users can now configure the exact path to the mysql and mysqldump binaries for different kind of set ups. * Don't typehint the execute() method just yet * Fix style in snipe config * Add proper snipe test support These changes now properly reset the application state before each test run, as well as adds a few helpful methods to deal with snipe internals. * Add test for checking for the migrate:fresh command * Add test to detect and reflect database changes * Fix style issues in SnipeMigrationsTest * Add test for custom binary prefixes This uses a mockery extension package to overwrite the native “exec” method with a customizable mock. * Fix style issues in SnipeMigrationsTest * Add back the snapshots folder I seem to have deleted this by mistake
- Loading branch information
1 parent
2338c63
commit 70dc1e0
Showing
5 changed files
with
162 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
.snipe | ||
snipe_snapshot.sql | ||
snipe_snapshot.sql |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters