Skip to content

Commit 2719607

Browse files
authored
test: unskip several actions tests (#2029)
1 parent 7829892 commit 2719607

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

tests/Feature/Actions/AskComponentDatasourceTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
use PowerComponents\LivewirePowerGrid\Commands\Actions\AskComponentDatasource;
55

66
test('selecting component data source', function () {
7-
Prompt::fake(['us', Key::DOWN, Key::ENTER]);
7+
Prompt::fake([Key::DOWN, Key::ENTER]);
88
expect(AskComponentDatasource::handle())->toBe('QUERY_BUILDER');
9-
})->skip('failing for some reason');
9+
});

tests/Feature/Actions/AskComponentNameTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
use PowerComponents\LivewirePowerGrid\Commands\Actions\AskComponentName;
55

66
test('input component name', function () {
7-
Prompt::fake([...str_split('New'), Key::ENTER]);
7+
Prompt::fake(['New', Key::ENTER]);
88
expect(AskComponentName::handle())->toBe('UserTableNew');
9-
})->skip('Check test');
9+
});

tests/Feature/Actions/AskDatabaseTableNameTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@
1515
Prompt::fake(['foo', Key::DOWN, Key::ENTER]);
1616

1717
expect(AskDatabaseTableName::handle())->toBe('foobar');
18-
})->skip('Check test: it gets stuck');
18+
});

0 commit comments

Comments
 (0)