Skip to content

Commit d1d84fa

Browse files
committed
Merge pull request #97 from radekdostal/tests-selectbox-loaddata
tests: removed useless "use" statements.
2 parents 70e0b5f + 092dfc5 commit d1d84fa

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/Forms/Controls.SelectBox.loadData.phpt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ test(function () use ($series) { // Select
3939
});
4040

4141

42-
test(function () use ($series) { // Empty select
42+
test(function () { // Empty select
4343
$_POST = ['select' => 'red-dwarf'];
4444

4545
$form = new Form;
@@ -65,7 +65,7 @@ test(function () use ($series) { // Select with prompt
6565
});
6666

6767

68-
test(function () use ($series) { // Select with optgroups
68+
test(function () { // Select with optgroups
6969
$_POST = ['select' => 'red-dwarf'];
7070

7171
$form = new Form;
@@ -192,7 +192,7 @@ test(function () use ($series) { // setItems without keys
192192
});
193193

194194

195-
test(function () use ($series) { // setItems without keys
195+
test(function () { // setItems without keys
196196
$form = new Form;
197197
$input = $form->addSelect('select')->setItems(range(1, 5), FALSE);
198198
Assert::same([1 => 1, 2, 3, 4, 5], $input->getItems());

0 commit comments

Comments
 (0)