Skip to content

Commit 1421afd

Browse files
committed
Format test phpdocs
1 parent d412d4b commit 1421afd

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

tests/Omnipay/Common/Message/AbstractRequestTest.php

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99

1010
class AbstractRequestTest extends TestCase
1111
{
12+
/** @var AbstractRequest */
13+
protected $request;
14+
1215
public function setUp()
1316
{
1417
$this->request = m::mock('\Omnipay\Common\Message\AbstractRequest')->makePartial();
@@ -116,7 +119,7 @@ public function testAmountZeroString()
116119
}
117120

118121
/**
119-
* @expectedException Omnipay\Common\Exception\InvalidRequestException
122+
* @expectedException \Omnipay\Common\Exception\InvalidRequestException
120123
* @expectedExceptionMessage A zero amount is not allowed.
121124
*/
122125
public function testAmountZeroNotAllowed()
@@ -159,7 +162,7 @@ public function testAmountPrecisionLargeNumbers()
159162
}
160163

161164
/**
162-
* @expectedException Omnipay\Common\Exception\InvalidRequestException
165+
* @expectedException \Omnipay\Common\Exception\InvalidRequestException
163166
*
164167
* We still want to catch obvious fractions of the minor units that are
165168
* not precision errors at a much lower level.
@@ -178,7 +181,7 @@ public function testGetAmountNoDecimals()
178181
}
179182

180183
/**
181-
* @expectedException Omnipay\Common\Exception\InvalidRequestException
184+
* @expectedException \Omnipay\Common\Exception\InvalidRequestException
182185
*/
183186
public function testGetAmountNoDecimalsRounding()
184187
{
@@ -220,7 +223,7 @@ public function testAmountInvalidFormatThrowsException()
220223
}
221224

222225
/**
223-
* @expectedException Omnipay\Common\Exception\InvalidRequestException
226+
* @expectedException \Omnipay\Common\Exception\InvalidRequestException
224227
*/
225228
public function testAmountNegativeStringThrowsException()
226229
{
@@ -229,7 +232,7 @@ public function testAmountNegativeStringThrowsException()
229232
}
230233

231234
/**
232-
* @expectedException Omnipay\Common\Exception\InvalidRequestException
235+
* @expectedException \Omnipay\Common\Exception\InvalidRequestException
233236
*/
234237
public function testAmountNegativeFloatThrowsException()
235238
{

0 commit comments

Comments
 (0)