From d1c6cc25812b994d3862bb1c104bdd0625f99f1f Mon Sep 17 00:00:00 2001 From: Dane Powell Date: Thu, 16 May 2024 16:53:55 -0700 Subject: [PATCH] no inject --- tests/phpunit/src/Commands/CommandBaseTest.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tests/phpunit/src/Commands/CommandBaseTest.php b/tests/phpunit/src/Commands/CommandBaseTest.php index 173dc20e2..0f78deada 100644 --- a/tests/phpunit/src/Commands/CommandBaseTest.php +++ b/tests/phpunit/src/Commands/CommandBaseTest.php @@ -34,4 +34,12 @@ public function testUnauthenticatedFailure(): void { $this->executeCommand([], $inputs); } + public function testCloudAppFromLocalConfig(): void { + $this->mockRequest('getApplicationByUuid', 'a47ac10b-58cc-4372-a567-0e02b2c3d470'); + $this->mockRequest('getApplicationIdes', 'a47ac10b-58cc-4372-a567-0e02b2c3d470'); + $this->createMockAcliConfigFile('a47ac10b-58cc-4372-a567-0e02b2c3d470'); + $this->executeCommand(); + + } + }