We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5801b0c commit 9f296aaCopy full SHA for 9f296aa
tests/Unit/FunctionTest.php
@@ -51,6 +51,19 @@ public function short_prefix_means_longer_name()
51
$this->assertEquals('sc-a-testing-7a7ane-sidecar-tests-unit-support-emptytestfunction', $name);
52
}
53
54
+ /** @test */
55
+ public function a_pipe_in_the_app_name_is_ok()
56
+ {
57
+ config([
58
+ 'sidecar.app_name' => 'Vriend van de Show | Local'
59
+ ]);
60
+
61
+ $function = new EmptyTestFunction;
62
+ $name = $function->nameWithPrefix();
63
64
+ $this->assertEquals('sc-vriend-van-de-show-local-55c0-7a7at-support-emptytestfunction', $name);
65
+ }
66
67
/** @test */
68
public function changing_the_prefix_changes_the_prefix()
69
{
0 commit comments