Skip to content

Commit

Permalink
getHeaders simple test
Browse files Browse the repository at this point in the history
  • Loading branch information
SmetDenis committed Jan 15, 2016
1 parent c2383c7 commit f9ff9dc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/HttpTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,10 @@ public function testGetIP()
unset($_SERVER['HTTP_X_FORWARDED_FOR']);
is('192.168.0.1', Http::IP(true));
}

public function testGetHeaders()
{
$headers = Http::getHeaders();
isNotEmpty($headers);
}
}

0 comments on commit f9ff9dc

Please sign in to comment.