diff --git a/src/Services/AppHelper.php b/src/Services/AppHelper.php index 0c950d0..1a5041e 100644 --- a/src/Services/AppHelper.php +++ b/src/Services/AppHelper.php @@ -62,7 +62,7 @@ public function updateApps(): void continue; } - $this->processHelper->console(['app:update', $app['name']]); + $this->processHelper->console(['app:update', $app['name'], '--force']); } } } diff --git a/tests/Services/AppHelperTest.php b/tests/Services/AppHelperTest.php index ca2a23c..20fc35e 100644 --- a/tests/Services/AppHelperTest.php +++ b/tests/Services/AppHelperTest.php @@ -156,7 +156,7 @@ public function testUpdate(): void $processHelper ->expects($this->once()) ->method('console') - ->with(['app:update', 'TestApp']); + ->with(['app:update', 'TestApp', '--force']); $connection = $this->createMock(Connection::class); $connection