Skip to content

Commit 7bd7177

Browse files
committed
Minor typo
1 parent a8c5004 commit 7bd7177

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tests/UploadMiddlewareTest.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ public function testNonMultipartRequestAreNotTouched(): void
112112
self::assertSame($request, $processedRequest, 'request should have been transformed as application/json');
113113
}
114114

115-
public function testEmptyRequestShouldThrows(): void
115+
public function testEmptyRequestShouldThrow(): void
116116
{
117117
$request = new ServerRequest();
118118
$request = $request
@@ -124,7 +124,7 @@ public function testEmptyRequestShouldThrows(): void
124124
$this->middleware->processRequest($request);
125125
}
126126

127-
public function testNullRequestShouldThrows(): void
127+
public function testNullRequestShouldThrow(): void
128128
{
129129
$request = new ServerRequest();
130130
$request = $request
@@ -136,7 +136,7 @@ public function testNullRequestShouldThrows(): void
136136
$this->middleware->processRequest($request);
137137
}
138138

139-
public function testInvalidRequestShouldThrows(): void
139+
public function testInvalidRequestShouldThrow(): void
140140
{
141141
$request = new ServerRequest();
142142
$request = $request
@@ -159,7 +159,7 @@ public function testOtherContentTypeShouldNotBeTouched(): void
159159
self::assertSame($request, $processedRequest);
160160
}
161161

162-
public function testRequestWithoutMapShouldThrows(): void
162+
public function testRequestWithoutMapShouldThrow(): void
163163
{
164164
$request = $this->createRequest('{my query}', [], [], [], 'op');
165165

@@ -173,7 +173,7 @@ public function testRequestWithoutMapShouldThrows(): void
173173
$this->middleware->processRequest($request);
174174
}
175175

176-
public function testRequestWithMapThatIsNotArrayShouldThrows(): void
176+
public function testRequestWithMapThatIsNotArrayShouldThrow(): void
177177
{
178178
$request = $this->createRequest('{my query}', [], [], [], 'op');
179179

@@ -187,7 +187,7 @@ public function testRequestWithMapThatIsNotArrayShouldThrows(): void
187187
$this->middleware->processRequest($request);
188188
}
189189

190-
public function testRequestWithMapThatIsNotValidJsonShouldThrows(): void
190+
public function testRequestWithMapThatIsNotValidJsonShouldThrow(): void
191191
{
192192
$request = $this->createRequest('{my query}', [], [], [], 'op');
193193

0 commit comments

Comments
 (0)