Skip to content

Commit

Permalink
Update tests for functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
nfourtythree committed Aug 21, 2024
1 parent a0fb7d4 commit 195471a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/unit/gql/ElementFieldResolverTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -450,8 +450,9 @@ public static function assetTransformDataProvider(): array
[['width' => 200, 'height' => 200], ['width' => 200, 'height' => 200]],
[['width' => 400, 'height' => 200], ['width' => 400, 'height' => 200]],
[['width' => 200, 'height' => 500], ['width' => 200, 'height' => 500]],
[['width' => 200, 'height' => 200, 'handle' => 'testHandle'], ['handle' => 'testHandle']],
[['width' => 200, 'height' => 200, 'transform' => 'testHandle2'], ['handle' => 'testHandle2']],
// Overriding named transforms
[['width' => 200, 'height' => 200, 'handle' => 'testHandle'], ['handle' => null, 'width' => 200, 'height' => 200]],
[['width' => 200, 'height' => 200, 'transform' => 'testHandle2'], ['handle' => null, 'width' => 200, 'height' => 200]],
];
}
}

0 comments on commit 195471a

Please sign in to comment.