Page MenuHomePhabricator

D569.id1796.diff
No OneTemporary

D569.id1796.diff

diff --git a/tests/validation/rules/InArrayTest.php b/tests/validation/rules/InArrayTest.php
--- a/tests/validation/rules/InArrayTest.php
+++ b/tests/validation/rules/InArrayTest.php
@@ -25,6 +25,7 @@
*/
use PHPUnit\Framework\TestCase;
+use spitfire\ast\Scope;
use spitfire\validation\parser\Parser;
class InArrayTest extends TestCase
@@ -41,13 +42,13 @@
public function testExpression() {
- $good = new \spitfire\core\parser\Scope();
+ $good = new Scope();
$good->set('GET', ['test' => 'c d']);
- $bad = new \spitfire\core\parser\Scope();
+ $bad = new Scope();
$bad->set('GET', ['test' => 'i']);
- $empty = new \spitfire\core\parser\Scope();
+ $empty = new Scope();
$empty->set('GET', ['test' => null]);
$validator = (new Parser())->parse('GET.test(string in["a", "b", "c d"])');

File Metadata

Mime Type
text/plain
Expires
Tue, Apr 13, 2:54 AM (4 w, 13 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5696
Default Alt Text
D569.id1796.diff (830 B)

Event Timeline