deprecated: try to magically resolve constructor
This commit is contained in:
parent
aa7b062b29
commit
bef42b3352
3 changed files with 6 additions and 9 deletions
|
|
@ -198,11 +198,6 @@ test('failed validation throws ValidationException', function () {
|
|||
})->throws(ValidationException::class);
|
||||
|
||||
|
||||
test('tries to resolve without mapper', function () {
|
||||
$object = ObjectWithoutMapper::fromArray(['date' => '1990-04-01']);
|
||||
expect($object->date->isSameDay('1990-04-01'))->toBeTrue();
|
||||
})->group('object-without-mapper');
|
||||
|
||||
test('creates collection', function () {
|
||||
$object = CollectionDataObject::fromArray([
|
||||
'values' => [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue