From f6265328a85cee66cbf12f15cc9d8c84627c1a5a Mon Sep 17 00:00:00 2001 From: nepski Date: Sat, 22 Nov 2014 17:45:38 +0100 Subject: [PATCH] test correction --- tests/test_main.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_main.php b/tests/test_main.php index 71404bd..4ef2d9d 100644 --- a/tests/test_main.php +++ b/tests/test_main.php @@ -55,7 +55,7 @@ class Test_Main_Class extends BaseTest { function test_main_get_feedbackform_return_contact_id() { $this->f3->mock('GET /feedback/'); $this->test->expect( - is_numeric($this->f3->get('contact_id')), + !is_nan($this->f3->get('contact_id')), "Do not get a numeric contact id" ); $this->f3->clear('ERROR'); // clear any errors -- GitLab