We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1477a88 commit b314399Copy full SHA for b314399
tests/Message/DirectAuthorizeRequestTest.php
@@ -6,6 +6,11 @@
6
7
class DirectAuthorizeRequestTest extends TestCase
8
{
9
+ /**
10
+ * @var \Omnipay\Common\Message\AbstractRequest $request
11
+ */
12
+ protected $request;
13
+
14
public function setUp()
15
16
parent::setUp();
@@ -60,6 +65,7 @@ public function testNoBasket()
60
65
61
66
// Then with a basket containing no items.
62
67
$items = new \Omnipay\Common\ItemBag(array());
68
+ $this->request->setItems($items);
63
69
$data = $this->request->getData();
64
70
$this->assertArrayNotHasKey('BasketXML', $data);
71
}
0 commit comments