File tree 3 files changed +5
-5
lines changed
Tests/DependencyInjection
3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 6
6
7
7
<parameters >
8
8
<parameter key =" moip.class" >Moip\Moip</parameter >
9
- <parameter key =" moip.authentication.oauth.class" >Moip\MoipOAuth </parameter >
10
- <parameter key =" moip.authentication.basic.class" >Moip\MoipBasicAuth </parameter >
9
+ <parameter key =" moip.authentication.oauth.class" >Moip\Auth\OAuth </parameter >
10
+ <parameter key =" moip.authentication.basic.class" >Moip\Auth\BasicAuth </parameter >
11
11
</parameters >
12
12
13
13
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ public function testLoad($config)
25
25
$ moip = $ container ->get ('moip ' );
26
26
$ moipAuth = $ container ->get ('moip.authenticator ' );
27
27
$ this ->assertInstanceOf ('\Moip\Moip ' , $ moip );
28
- $ this ->assertInstanceOf ('\Moip\MoipBasicAuth ' , $ moipAuth );
28
+ $ this ->assertInstanceOf ('\Moip\Auth\BasicAuth ' , $ moipAuth );
29
29
$ this ->assertEquals ($ moip ->getEndpoint (), Moip::ENDPOINT_SANDBOX );
30
30
}
31
31
@@ -55,7 +55,7 @@ public function testLoadWithOAuthAuthenticator($config)
55
55
$ moipAuth = $ container ->get ('moip.authenticator ' );
56
56
57
57
$ this ->assertInstanceOf ('\Moip\Moip ' , $ moip );
58
- $ this ->assertInstanceOf ('\Moip\MoipOAuth ' , $ moipAuth );
58
+ $ this ->assertInstanceOf ('\Moip\Auth\OAuth ' , $ moipAuth );
59
59
}
60
60
61
61
public function getOAuthConfig ()
Original file line number Diff line number Diff line change 11
11
}
12
12
],
13
13
"require" :{
14
- "moip/moip-sdk-php" : " ^1 .1" ,
14
+ "moip/moip-sdk-php" : " ^2 .1" ,
15
15
"symfony/dependency-injection" : " ^2.7|^3.1" ,
16
16
"symfony/http-kernel" : " ^2.7|^3.1" ,
17
17
"symfony/config" : " ^2.7|^3.1"
You can’t perform that action at this time.
0 commit comments