|
13 | 13 |
|
14 | 14 | it('can process the height option', function () { |
15 | 15 | /** @var TestCase $this */ |
16 | | - $response = $this->get(route('image.transform', [ |
| 16 | + $response = $this->get(route('image.transform.default', [ |
17 | 17 | 'options' => 'width=100', |
18 | 18 | 'path' => 'cat.jpg', |
19 | 19 | ])); |
|
26 | 26 |
|
27 | 27 | it('can process the width option', function () { |
28 | 28 | /** @var TestCase $this */ |
29 | | - $response = $this->get(route('image.transform', [ |
| 29 | + $response = $this->get(route('image.transform.default', [ |
30 | 30 | 'options' => 'height=100', |
31 | 31 | 'path' => 'cat.jpg', |
32 | 32 | ])); |
|
39 | 39 |
|
40 | 40 | it('can process the format option', function () { |
41 | 41 | /** @var TestCase $this */ |
42 | | - $response = $this->get(route('image.transform', [ |
| 42 | + $response = $this->get(route('image.transform.default', [ |
43 | 43 | 'options' => 'format=webp', |
44 | 44 | 'path' => 'cat.jpg', |
45 | 45 | ])); |
|
51 | 51 |
|
52 | 52 | it('can process the quality option', function () { |
53 | 53 | /** @var TestCase $this */ |
54 | | - $response = $this->get(route('image.transform', [ |
| 54 | + $response = $this->get(route('image.transform.default', [ |
55 | 55 | 'options' => 'quality=50', |
56 | 56 | 'path' => 'cat.jpg', |
57 | 57 | ])); |
|
63 | 63 |
|
64 | 64 | it('can process the blur option', function () { |
65 | 65 | /** @var TestCase $this */ |
66 | | - $response = $this->get(route('image.transform', [ |
| 66 | + $response = $this->get(route('image.transform.default', [ |
67 | 67 | 'options' => 'blur=20', |
68 | 68 | 'path' => 'cat.jpg', |
69 | 69 | ])); |
|
74 | 74 | }); |
75 | 75 |
|
76 | 76 | it('can process the flip option', function () { |
77 | | - $response = $this->get(route('image.transform', [ |
| 77 | + $response = $this->get(route('image.transform.default', [ |
78 | 78 | 'options' => 'flip=hv', |
79 | 79 | 'path' => 'cat.jpg', |
80 | 80 | ])); |
|
86 | 86 |
|
87 | 87 | it('can process the contrast option', function () { |
88 | 88 | /** @var TestCase $this */ |
89 | | - $response = $this->get(route('image.transform', [ |
| 89 | + $response = $this->get(route('image.transform.default', [ |
90 | 90 | 'options' => 'contrast=-50', |
91 | 91 | 'path' => 'cat.jpg', |
92 | 92 | ])); |
|
98 | 98 |
|
99 | 99 | it('can process the background option', function () { |
100 | 100 | /** @var TestCase $this */ |
101 | | - $response = $this->get(route('image.transform', [ |
| 101 | + $response = $this->get(route('image.transform.default', [ |
102 | 102 | 'options' => 'background=ffaa00', |
103 | 103 | 'path' => 'octocat.png', |
104 | 104 | ])); |
|
110 | 110 |
|
111 | 111 | it('can process multiple options at once', function () { |
112 | 112 | /** @var TestCase $this */ |
113 | | - $response = $this->get(route('image.transform', [ |
| 113 | + $response = $this->get(route('image.transform.default', [ |
114 | 114 | 'options' => 'width=100,format=gif,quality=50', |
115 | 115 | 'path' => 'cat.jpg', |
116 | 116 | ])); |
|
123 | 123 |
|
124 | 124 | it('can handle a trailing comma in options', function () { |
125 | 125 | /** @var TestCase $this */ |
126 | | - $response = $this->get(route('image.transform', [ |
| 126 | + $response = $this->get(route('image.transform.default', [ |
127 | 127 | 'options' => 'width=100,', |
128 | 128 | 'path' => 'cat.jpg', |
129 | 129 | ])); |
|
0 commit comments