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 5c7211e commit e5d4893Copy full SHA for e5d4893
tests/Omnipay/Common/AbstractGatewayTest.php
@@ -14,11 +14,6 @@ public function setUp()
14
15
public function testGetShortName()
16
{
17
- // test a couple of known getShortName() examples
18
- $gateway = GatewayFactory::create('PayPal_Express');
19
- $this->assertSame('PayPal_Express', $gateway->getShortName());
20
-
21
- $gateway = GatewayFactory::create('Stripe');
22
- $this->assertSame('Stripe', $gateway->getShortName());
+ $this->assertSame('\\'.get_class($this->gateway), $this->gateway->getShortName());
23
}
24
0 commit comments