diff --git a/tests/unit/gql/ElementFieldResolverTest.php b/tests/unit/gql/ElementFieldResolverTest.php index 975855d6098..7818c3a2909 100644 --- a/tests/unit/gql/ElementFieldResolverTest.php +++ b/tests/unit/gql/ElementFieldResolverTest.php @@ -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]], ]; } }