Commit c8cdd4c3 authored by Carsten  Rose's avatar Carsten Rose
Browse files

Refs #8043: unit test

parent c691a95d
Pipeline #1758 failed with stage
in 2 minutes and 11 seconds
...@@ -574,7 +574,8 @@ class EvaluateTest extends AbstractDatabaseTest { ...@@ -574,7 +574,8 @@ class EvaluateTest extends AbstractDatabaseTest {
$this->assertEquals('go start {{hidden:F:alnumx}} end stop', $eval->parse('go {{a:F:all:S}} stop')); $this->assertEquals('go start {{hidden:F:alnumx}} end stop', $eval->parse('go {{a:F:all:S}} stop'));
// Check that there is no exception if not found in the first/second store but in third store // Check that there is no exception if not found in the first/second store but in third store
$this->assertEquals('go start magic value end stop', $eval->parse('go {{a:SYF:all:X}} stop')); $this->store->setVar('a', 'sunshine', STORE_FORM, true);
$this->assertEquals('go sunshine stop', $eval->parse('go {{a:SRF:all:X}} stop'));
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment