11<?php 
22
3- declare  (strict_types = 1 );
4- 
53namespace  Odenktools \Tests \Bca ;
64
5+ use  Bca \BcaHttp ;
76use  Odenktools \Bca ;
87use  Odenktools \Bca \BcaFactory ;
98
9+ /** 
10+  * BCA factory provider test class. 
11+  * 
12+  * @author     Pribumi Technology 
13+  * @license    MIT 
14+  * @copyright  (c) 2017, Pribumi Technology 
15+  */ 
1016class  BcaFactoryTest extends  AbstractTestCase
1117{
1218    public  function  testMakeStandard ()
@@ -27,8 +33,7 @@ public function testMakeStandard()
2733            'port '           => 443 ,
2834            'timeout '        => 30 ,
2935        ]);
30- 
31-         $ this  ->assertInstanceOf (Bca::class, $ return );
36+         $ this  ->assertInstanceOf (BcaHttp::class, $ return );
3237    }
3338
3439    /** 
@@ -83,17 +88,17 @@ public function testMakeWithoutSecret()
8388        $ factory  = $ this  ->getBcaFactory ();
8489
8590        $ factory ->make ([
86-             'corp_id '         => 'your-corp_id ' ,
87-             'client_id '       => 'your-client_id ' ,
88-             'api_key '         => 'your-api_key ' ,
89-             'secret_key '      => 'your-secret_key ' ,
90-             'timezone '        => 'Asia/Jakarta ' ,
91-             'host '            => 'sandbox.bca.co.id ' ,
92-             'scheme '          => 'https ' ,
93-             'development '     => true ,
94-             'options '         => [],
95-             'port '            => 443 ,
96-             'timeout '         => 30 ,
91+             'corp_id '      => 'your-corp_id ' ,
92+             'client_id '    => 'your-client_id ' ,
93+             'api_key '      => 'your-api_key ' ,
94+             'secret_key '   => 'your-secret_key ' ,
95+             'timezone '     => 'Asia/Jakarta ' ,
96+             'host '         => 'sandbox.bca.co.id ' ,
97+             'scheme '       => 'https ' ,
98+             'development '  => true ,
99+             'options '      => [],
100+             'port '         => 443 ,
101+             'timeout '      => 30 ,
97102        ]);
98103    }
99104
0 commit comments