Skip to content
This repository has been archived by the owner on Jan 31, 2020. It is now read-only.

Commit

Permalink
zendframework/zendframework#6886 - adding @group annotation to newl…
Browse files Browse the repository at this point in the history
…y introduced tests
  • Loading branch information
Ocramius committed Nov 18, 2014
1 parent fa021f4 commit 64c327f
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions test/HttpTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,10 @@ public function testValidHostTypesWithUnderScore()
$uri = new HttpUri('http://zf2_app.local');
$this->assertTrue($uri->isValid());
}


/**
* @group 6886
*/
public function testCanSetUserAndPasswordWithUserInfo()
{
$uri = new HttpUri('http://www.example.com/');
Expand All @@ -261,7 +264,10 @@ public function testCanSetUserAndPasswordWithUserInfo()
$this->assertEquals('user', $uri->getUser());
$this->assertEquals('pass', $uri->getPassword());
}


/**
* @group 6886
*/
public function testCanSetUserWithUserInfo()
{
$uri = new HttpUri('http://www.example.com/');
Expand All @@ -270,7 +276,10 @@ public function testCanSetUserWithUserInfo()
$this->assertEquals('user', $uri->getUser());
$this->assertNull($uri->getPassword());
}


/**
* @group 6886
*/
public function testCanSetUserInfoWithUserAndPassword()
{
$uri = new HttpUri('http://www.example.com/');
Expand All @@ -281,7 +290,10 @@ public function testCanSetUserInfoWithUserAndPassword()
$this->assertEquals('pass', $uri->getPassword());
$this->assertEquals('user:pass', $uri->getUserInfo());
}


/**
* @group 6886
*/
public function testCanSetUserInfoWithUser()
{
$uri = new HttpUri('http://www.example.com/');
Expand Down

0 comments on commit 64c327f

Please sign in to comment.