fixes ignored dataset description for string description

This commit is contained in:
Alex Manase
2022-11-17 15:43:30 +02:00
parent 339414e348
commit 09b7ab9a42
3 changed files with 15 additions and 2 deletions

View File

@ -247,6 +247,13 @@ test('eager registered wrapped datasets with Generator functions did the job rig
expect($wrapped_generator_state->text)->toBe('1234');
});
test('eager registered wrapped datasets with Generator functions display description', function ($wrapped_generator_state_with_description) {
expect($wrapped_generator_state_with_description)->not->toBeEmpty();
})->with(function () {
yield 'taylor' => 'foo@bar.com';
yield 'james' => 'bar@foo.com';
});
it('can resolve a dataset after the test case is available', function ($result) {
expect($result)->toBe('bar');
})->with([