Skip to content

Commit

Permalink
patch(test): dto - remove prefer higher
Browse files Browse the repository at this point in the history
  • Loading branch information
kevariable committed Mar 26, 2023
1 parent 938835d commit 8d5314a
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions tests/Unit/DataTransferObjects/DataTransferObjectTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,7 @@
it(description: 'can recycle the data directly')
->group('unit', 'dto')
->skip(
conditionOrMessage: in_array(InstalledVersions::getVersion(packageName: 'spatie/php-cloneable'), [
'1.0.1.0',
'1.0.0.0'
])
conditionOrMessage: InstalledVersions::getVersion(packageName: 'spatie/php-cloneable') === '1.0.0.0'
)
->tap(callable: function () {
$data = UserData::resolve(data: [
Expand All @@ -107,10 +104,7 @@
it(description: 'can recycle the data with callback')
->group('unit', 'dto')
->skip(
conditionOrMessage: in_array(InstalledVersions::getVersion(packageName: 'spatie/php-cloneable'), [
'1.0.1.0',
'1.0.0.0'
])
conditionOrMessage: InstalledVersions::getVersion(packageName: 'spatie/php-cloneable') === '1.0.0.0'
)
->tap(callable: function () {
$data = UserData::resolve(data: [
Expand Down

0 comments on commit 8d5314a

Please sign in to comment.