travis: update
[m6w6/ext-psi] / tests / idn / idn003.phpt
index 8befdc94cd6fad002b9e0e6f4b511275b7201ba8..4ee5e3fcf5eadd2a1422c8f1331b13927321d7ba 100644 (file)
@@ -1,17 +1,13 @@
 --TEST--
 libidn
 --INI--
-psi.directory={PWD}
---SKIPIF--
-<?php
-extension_loaded("psi") or die("skip - need ext/psi");
-?>
+psi.directory={PWD}/../../psi.d:{PWD}
 --FILE--
 ===TEST===
-<?php 
+<?php
 
 $result = "buecher.de";
-$rc = idn\utf8_to_ascii("bücher.de", $result, IDNA_USE_STD3_ASCII_RULES);
+$rc = idn\utf8_to_ascii("bücher.de", $result, psi\IDNA_USE_STD3_ASCII_RULES);
 printf("%s\n", $result);
 printf("%s\n", idn\strerror($rc));
 
@@ -21,4 +17,4 @@ printf("%s\n", idn\strerror($rc));
 ===TEST===
 xn--bcher-kva.de
 Success
-===DONE===
\ No newline at end of file
+===DONE===