diff --git a/app/Console/Commands/UpdateCommand.php b/app/Console/Commands/UpdateCommand.php index 6a23e0fc..7d6a57a5 100644 --- a/app/Console/Commands/UpdateCommand.php +++ b/app/Console/Commands/UpdateCommand.php @@ -4,6 +4,7 @@ namespace App\Console\Commands; use App\Space\Updater; use Illuminate\Console\Command; +use Illuminate\Support\Facades\File; // Implementation taken from Akaunting - https://github.com/akaunting/akaunting class UpdateCommand extends Command diff --git a/tests/Unit/Console/UpdateCommandTest.php b/tests/Unit/Console/UpdateCommandTest.php new file mode 100644 index 00000000..5a9f6669 --- /dev/null +++ b/tests/Unit/Console/UpdateCommandTest.php @@ -0,0 +1,10 @@ +getInstalledVersion())->toBe($expectedVersion); +}); diff --git a/version.md b/version.md index 68b83364..c043eea7 100644 --- a/version.md +++ b/version.md @@ -1 +1 @@ -2.2.0-alpha2 +2.2.1