Skip to content

Commit ca96e56

Browse files
committed
Fix GuardEvaluator test cases
1 parent e633edb commit ca96e56

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/GuardEvaluatorTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
it('evaluates a custom closure guard function correctly', function () {
88
// Set a test configuration for custom guard functions.
99
// Here we define a function named "checkFlag" that returns the value of a 'flag' variable.
10-
config()->set('workflow.custom_functions', [
10+
config()->set('workflow-process.custom_functions', [
1111
'checkFlag' => [
1212
'compiler' => function () {
1313
// The compiler returns a placeholder expression.
@@ -35,7 +35,7 @@
3535

3636
it('evaluates a custom guard function defined as a class correctly', function () {
3737
// Set the configuration so that the custom function points to our evaluator class.
38-
config()->set('workflow.custom_functions', [
38+
config()->set('workflow-process.custom_functions', [
3939
'checkFlag' => CheckFlagGuardFunction::class,
4040
]);
4141

0 commit comments

Comments
 (0)