Content-Length: 335150 | pFad | http://github.com/Payum/PaypalRest/commit/fe22e2395cfbba7ad254487cf6fcae567df75321

41 Run rector with PHPUnit::CODE_QUALITY · Payum/PaypalRest@fe22e23 · GitHub
Skip to content

Commit fe22e23

Browse files
committed
Run rector with PHPUnit::CODE_QUALITY
1 parent c8c28fb commit fe22e23

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

Tests/Action/ConvertActionTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,6 @@ public function shouldNotOverwriteAlreadySetExtraDetails()
110110
$this->assertNotEmpty($details);
111111

112112
$this->assertArrayHasKey('foo', $details);
113-
$this->assertEquals('fooVal', $details['foo']);
113+
$this->assertSame('fooVal', $details['foo']);
114114
}
115115
}

Tests/PaypalRestGatewayFactoryTest.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,10 @@ public function shouldAddDefaultConfigPassedInConstructorWhileCreatingGatewayCon
7474
$this->assertIsArray($config);
7575

7676
$this->assertArrayHasKey('foo', $config);
77-
$this->assertEquals('fooVal', $config['foo']);
77+
$this->assertSame('fooVal', $config['foo']);
7878

7979
$this->assertArrayHasKey('bar', $config);
80-
$this->assertEquals('barVal', $config['bar']);
80+
$this->assertSame('barVal', $config['bar']);
8181
}
8282

8383
/**
@@ -92,7 +92,7 @@ public function shouldConfigContainDefaultOptions()
9292
$this->assertIsArray($config);
9393

9494
$this->assertArrayHasKey('payum.default_options', $config);
95-
$this->assertEquals(['client_id' => '', 'client_secret' => '', 'config_path' => '', 'config' => []], $config['payum.default_options']);
95+
$this->assertSame(['client_id' => '', 'client_secret' => '', 'config_path' => '', 'config' => []], $config['payum.default_options']);
9696
}
9797

9898
/**
@@ -107,10 +107,10 @@ public function shouldConfigContainFactoryNameAndTitle()
107107
$this->assertIsArray($config);
108108

109109
$this->assertArrayHasKey('payum.factory_name', $config);
110-
$this->assertEquals('paypal_rest', $config['payum.factory_name']);
110+
$this->assertSame('paypal_rest', $config['payum.factory_name']);
111111

112112
$this->assertArrayHasKey('payum.factory_title', $config);
113-
$this->assertEquals('PayPal Rest', $config['payum.factory_title']);
113+
$this->assertSame('PayPal Rest', $config['payum.factory_title']);
114114
}
115115

116116
/**

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/Payum/PaypalRest/commit/fe22e2395cfbba7ad254487cf6fcae567df75321

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy