Files
piratepoet/tests/unit/Util/UrlTest.php
Fred. P 73f51505a2 Close [MAILPOET-1344] "Easier what's new skipping"
* URL test now check for home URL instead of just 'http'
* Fixed a bug where getCurrentlURL() returned a broken path
* Added "I don't care about the update" button
* Update skip buttons now return to the previous page
2018-05-02 16:16:36 +02:00

12 lines
268 B
PHP

<?php
namespace MailPoet\Test\Util;
use MailPoet\Util\Url;
class UrlTest extends \MailPoetTest {
function testCurrentUrlReturnsHomeUrlOnHome() {
$current_url = Url::getCurrentUrl();
$home_url = home_url();
expect($current_url)->equals($home_url);
}
}