From c6a6f7e2ab979123c61ed03a1845e15fd143d56f Mon Sep 17 00:00:00 2001 From: jordanbrauer <18744334+jordanbrauer@users.noreply.github.com> Date: Sat, 13 Feb 2021 00:15:54 -0600 Subject: [PATCH] fix typo --- src/Factories/TestCaseFactory.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Factories/TestCaseFactory.php b/src/Factories/TestCaseFactory.php index 714a7cdc..5de5200c 100644 --- a/src/Factories/TestCaseFactory.php +++ b/src/Factories/TestCaseFactory.php @@ -179,7 +179,7 @@ final class TestCaseFactory // Limit to A-Z, a-z, 0-9, '_', '-'. $relativePath = (string) preg_replace('/[^A-Za-z0-9.\\\]/', '', $relativePath); - $classFQN = str_replace('.', '', 'P\\' . $relativePath) + $classFQN = str_replace('.', '', 'P\\' . $relativePath); if (class_exists($classFQN)) { return $classFQN; }