Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 7 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
7 | 1 | public function testGetCryptUrl() |
|
8 | { |
||
9 | 1 | $request = new \Promopult\Integra\Request( |
|
10 | 1 | 'hello', |
|
11 | 1 | ['name' => 'name'], |
|
12 | 1 | new \Promopult\Integra\Test\CredentialsMock, |
|
13 | 1 | new \Promopult\Integra\Test\CryptMock |
|
14 | ); |
||
15 | |||
16 | 1 | $this->assertEquals('host/path/hello?k=zaahash%7B%22name%22%3A%22name%22%7D', $request->getCryptUrl()); |
|
17 | 1 | } |
|
19 |