Skip to content

Commit 60bde55

Browse files
committed
fix: updated version of flow.phar available in playground
1 parent 7ec9521 commit 60bde55

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

src/core/etl/tests/Flow/ETL/Tests/Integration/DataFrame/ExecutionModeTest.php

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,8 @@
44

55
namespace Flow\ETL\Tests\Integration\DataFrame;
66

7-
use function Flow\ETL\DSL\{data_frame, from_array, ref, to_memory};
7+
use function Flow\ETL\DSL\{data_frame, execution_strict, from_array, ref, to_memory};
88
use Flow\ETL\Exception\InvalidArgumentException;
9-
use Flow\ETL\Function\ExecutionMode;
109
use Flow\ETL\Memory\ArrayMemory;
1110
use Flow\ETL\Tests\FlowTestCase;
1211

@@ -80,7 +79,7 @@ public function test_strict_mode_throws_exception_on_invalid_data() : void
8079
['id' => 3, 'name' => 'Jane'],
8180
])
8281
)
83-
->mode(ExecutionMode::STRICT)
82+
->mode(execution_strict())
8483
->withEntry('starts_with_j', ref('name')->startsWith('J'))
8584
->fetch();
8685
}
@@ -96,7 +95,7 @@ public function test_strict_mode_with_cast() : void
9695
['value' => null],
9796
])
9897
)
99-
->mode(ExecutionMode::STRICT)
98+
->mode(execution_strict())
10099
->withEntry('value_int', ref('value')->cast('int'))
101100
->fetch();
102101
}
@@ -113,7 +112,7 @@ public function test_strict_mode_with_index_of() : void
113112
['text' => null],
114113
])
115114
)
116-
->mode(ExecutionMode::STRICT)
115+
->mode(execution_strict())
117116
->withEntry('pos', ref('text')->indexOf('world'))
118117
->fetch();
119118
}
@@ -130,7 +129,7 @@ public function test_strict_mode_with_json_decode() : void
130129
['json' => null],
131130
])
132131
)
133-
->mode(ExecutionMode::STRICT)
132+
->mode(execution_strict())
134133
->withEntry('decoded', ref('json')->jsonDecode())
135134
->fetch();
136135
}
27.1 KB
Binary file not shown.

0 commit comments

Comments
 (0)