Test of regUser function - Test sucessful

upImage needs to be tested, but I'm lazy
regAPI to be tested next
This commit is contained in:
Arctic Code 2013-07-26 22:44:05 -05:00
parent 526e5793f1
commit 7b4d4da8f6

View File

@ -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');
?>