| Conditions | 1 |
| Paths | 1 |
| Total Lines | 6 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 27 | public function test_euro() { |
||
| 28 | $currency = Currencies::get_currency( 'EUR' ); |
||
| 29 | |||
| 30 | $this->assertSame( '978', $currency->get_numeric_code() ); |
||
| 31 | $this->assertSame( 'Euro', $currency->get_name() ); |
||
| 32 | $this->assertJsonStringEqualsJsonString( '"EUR"', \wp_json_encode( $currency ) ); |
||
|
|
|||
| 33 | } |
||
| 46 |