From 7b4d4da8f64cab73f75654deb03b452491d4f2f4 Mon Sep 17 00:00:00 2001 From: Arctic Code Date: Fri, 26 Jul 2013 22:44:05 -0500 Subject: [PATCH] Test of regUser function - Test sucessful upImage needs to be tested, but I'm lazy regAPI to be tested next --- api.test.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/api.test.php b/api.test.php index 3cb2d93..ed15ecc 100644 --- a/api.test.php +++ b/api.test.php @@ -10,6 +10,8 @@ $unpsAPI = new api(); //echo $unpsAPI->shorten($apidb, '580658027', $shortdb, '[Full URL]'); //echo $unpsAPI->delShort($apidb, '580658027', $shortdb, '[Short link Code Only]]'); -echo $unpsAPI->upImage($apidb, '580658027', $imgdb, 'dc0de', 'This is a test', 'test', 0, imgdata) +//echo $unpsAPI->upImage($apidb, '580658027', $imgdb, 'dc0de', 'This is a test', 'test', 0, imgdata) + +echo $unpsAPI->regUser($apidb, '580658027', $udb, 'David', 'password123', 'tehfoxy.c0de@gmail.com'); ?> \ No newline at end of file