X-Git-Url: http://git.pjr.cc/?p=ga4php.git;a=blobdiff_plain;f=unittests%2Fcreateurl.php;fp=unittests%2Fcreateurl.php;h=7d3d4ca3af54387c3f405ec6b6e082d99738b4b8;hp=0000000000000000000000000000000000000000;hb=08bcb2d016d684539e10a0628a5674544b2596b5;hpb=f3c5ec2f5192fa077c4da0d1c67aa48a742c6d37 diff --git a/unittests/createurl.php b/unittests/createurl.php new file mode 100644 index 0000000..7d3d4ca --- /dev/null +++ b/unittests/createurl.php @@ -0,0 +1,16 @@ +createBase32Key(); + +$url = $ga->createURL("someuser", $key); + +system("qrencode -s 6 -o /tmp/file.unittest $url"); +system("eog /tmp/file.unittest"); +unlink("/tmp/file.unittest"); +?>