]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - tests/Url/UnparseUrlTest.php
namespacing: move HTTP utilities along \Shaarli\Http\ classes
[github/shaarli/Shaarli.git] / tests / Url / UnparseUrlTest.php
diff --git a/tests/Url/UnparseUrlTest.php b/tests/Url/UnparseUrlTest.php
deleted file mode 100644 (file)
index e314b48..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-<?php
-/**
- * Unpares Url's tests
- */
-
-require_once 'application/Url.php';
-
-/**
- * Unitary tests for unparse_url()
- */
-class UnparseUrlTest extends PHPUnit_Framework_TestCase
-{
-    /**
-     * Thanks for building nothing
-     */
-    public function testUnparseEmptyArray()
-    {
-        $this->assertEquals('', unparse_url(array()));
-    }
-
-    /**
-     * Rebuild a full-featured URL
-     */
-    public function testUnparseFull()
-    {
-        $ref = 'http://username:password@hostname:9090/path'
-              .'?arg1=value1&arg2=value2#anchor';
-        $this->assertEquals($ref, unparse_url(parse_url($ref)));
-    }
-}