From 6a55a6f1b104299508b9ac9309c7ac89c0871eab Mon Sep 17 00:00:00 2001 From: Travis Carden Date: Wed, 17 Apr 2024 17:18:54 -0400 Subject: [PATCH] Add test case to Tests\Process\Service\ProcessUnitTest::testSetEnvInvalidNames(). --- tests/Process/Service/ProcessUnitTest.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/Process/Service/ProcessUnitTest.php b/tests/Process/Service/ProcessUnitTest.php index b8ac2a52..9531e692 100644 --- a/tests/Process/Service/ProcessUnitTest.php +++ b/tests/Process/Service/ProcessUnitTest.php @@ -368,6 +368,12 @@ public function providerSetEnvInvalidNames(): array ], 'invalidName' => '42', ], + // This error message probably isn't the most helpful. Let's + // at least document the behavior with this test case. + 'Value with no name' => [ + 'values' => ['value'], + 'invalidValue' => '0', + ], ]; }