Closed fotrino closed 1 year ago
Hi @Sammyjo20, in this PR I've updated the test case to be able to run composer test
from the package directory & run 2 tests I've created to check if the feature works.
I was checking Package Development Docs from Laravel & it states that when Orchestral Testbench its installed, you can test the package as if it was installed in a Laravel App.
@Sammyjo20 I think this PR can be closed as #16 essentially provides a solution for the underlying issue?
This PR introduces a command to delete the checksum file & improve DX when running into issues with ParaTest Databases. Also closes #11.
TL;DR;
Running the command
delete-checksum
will check if the file exists using the method$this->getMigrationChecksumFile()
& then proceed to delete it with an output message.Changes
FastRefreshDatabaseServiceProvider
to allow registering commands.composer.json
to include the ServiceProvider & autoloading for tests directory.tests\TestCase
to allow package testing & updatetests\Pest
to use it.