Skip to content
This repository was archived by the owner on Apr 16, 2024. It is now read-only.

Commit 7b7e1f7

Browse files
authored
Merge pull request #23 from Lazir/patch-1
Snake case in generating test function name
2 parents c4b2555 + d244cd2 commit 7b7e1f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Generators/JobGenerator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ private function generateTestFile($job, $domain)
7676

7777
$content = str_replace(
7878
['{{namespace}}', '{{testclass}}', '{{job}}', '{{job_namespace}}'],
79-
[$namespace, $testClass, mb_strtolower($job), $jobNamespace],
79+
[$namespace, $testClass, snake_case($job), $jobNamespace],
8080
$content
8181
);
8282

0 commit comments

Comments
 (0)