| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 41 | public function test_get_issuers() { |
||
| 42 | add_filter( 'pre_http_request', array( $this, 'pre_http_request' ), 10, 3 ); |
||
| 43 | |||
| 44 | $url = 'https://www.targetpay.com/ideal/getissuers.php?format=xml'; |
||
| 45 | |||
| 46 | $response = wp_remote_get( $url ); |
||
| 47 | |||
| 48 | $this->assertEquals( 200, wp_remote_retrieve_response_code( $response ) ); |
||
| 49 | } |
||
| 51 |