Skip to content

Commit 8265029

Browse files
authored
PHPUnit 7 support (#4799)
* changed build process for phar * added phpunit7 support * Appveyor.yml to specify php 7.1 and PhpBrowserTest fixes (#4807) * Update appveyor.yml to specify php version 7.1 Pull request #4799 fails due to AppVeyor and Chocolatey installing PHP 7.2 and not constrained to any version. This entire file assumes PHP 7.1, so I added what I believe is the constraint for Chocolatey/cist. Disclaimer: I am not familiar with Chocolatey or AppVeyor so I'm kind of taking a stab in the dark, well an educated guess have you. * Update PhpBrowserTest.php codeception.com forces https, assertion corrected. * Updated redirect test in favor of http Due to issue with TravisCI with php-curl/ssl, changed to this for better solution. travis-ci/travis-ci#6339 * Updated TravisCI composer configuration TravisCI should test latest minor SemVer of Symfony packages not lowest, this was the only test failing due to memory overload from Composer trying to resolve dependencies.
1 parent de9df47 commit 8265029

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/unit/Codeception/Module/PhpBrowserTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -280,9 +280,9 @@ public function testLocationHeaderDoesNotRedirectWhenStatusCodeIs201()
280280

281281
public function testRedirectToAnotherDomainUsingSchemalessUrl()
282282
{
283-
$this->module->amOnUrl('http://httpbin.org/redirect-to?url=//codeception.com/');
283+
$this->module->amOnUrl('http://httpbin.org/redirect-to?url=//example.org/');
284284
$currentUrl = $this->module->client->getHistory()->current()->getUri();
285-
$this->assertSame('http://codeception.com/', $currentUrl);
285+
$this->assertSame('http://example.org/', $currentUrl);
286286
}
287287

288288
public function testSetCookieByHeader()

0 commit comments

Comments
 (0)