From a08fdf0693e1a51d428e2dd985c69dc59b2ebcad Mon Sep 17 00:00:00 2001 From: Jacson Passold Date: Mon, 4 Jun 2018 16:15:37 -0300 Subject: [PATCH] missing assert --- tests/test-api-export.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test-api-export.php b/tests/test-api-export.php index 59041e9b1..6a0168779 100644 --- a/tests/test-api-export.php +++ b/tests/test-api-export.php @@ -110,7 +110,8 @@ class TAINACAN_REST_Export_Controller extends TAINACAN_UnitApiTestCase { $response = $this->server->dispatch($request); $this->assertEquals(200, $response->get_status()); $data = $response->get_data(); - print_r($data); + + $this->assertInstanceOf('SimpleXMLElement', @simplexml_load_string($data)); } }