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

Commit

Permalink
[zendframework/zendframework#5029] incorporate feedback
Browse files Browse the repository at this point in the history
- lowercase "origin" in plugin loader
- remove unnecessary lines in test class
  • Loading branch information
weierophinney committed Oct 22, 2013
1 parent 1891c75 commit 504669f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion src/HeaderLoader.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class HeaderLoader extends PluginClassLoader
'lastmodified' => 'Zend\Http\Header\LastModified',
'location' => 'Zend\Http\Header\Location',
'maxforwards' => 'Zend\Http\Header\MaxForwards',
'Origin' => 'Zend\Http\Header\Origin',
'origin' => 'Zend\Http\Header\Origin',
'pragma' => 'Zend\Http\Header\Pragma',
'proxyauthenticate' => 'Zend\Http\Header\ProxyAuthenticate',
'proxyauthorization' => 'Zend\Http\Header\ProxyAuthorization',
Expand Down
4 changes: 0 additions & 4 deletions test/Header/OriginTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

class OriginTest extends \PHPUnit_Framework_TestCase
{

public function testOriginFromStringCreatesValidOriginHeader()
{
$OriginHeader = Origin::fromString('Origin: http://zend.org');
Expand Down Expand Up @@ -44,7 +43,4 @@ public function testOriginToStringReturnsHeaderFormattedString()
// @todo set some values, then test output
$this->assertEmpty('Origin: http://zend.org', $OriginHeader->toString());
}

/** Implmentation specific tests here */

}

0 comments on commit 504669f

Please sign in to comment.