Skip to content

Commit

Permalink
Update HttpHeaderTest.php
Browse files Browse the repository at this point in the history
  • Loading branch information
usernane committed Jun 26, 2022
1 parent 90eacda commit 3899c23
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/webfiori/tests/http/HttpHeaderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public function test00() {
$header = new HttpHeader();
$this->assertEquals('http-header', $header->getName());
$this->assertEquals('', $header->getValue());
$this->assertEquals('http-header :', $header);
$this->assertEquals('http-header: ', $header);
}
/**
* @test
Expand All @@ -25,7 +25,7 @@ public function test01() {
$header = new HttpHeader('User-Agent', 'Chrome');
$this->assertEquals('user-agent', $header->getName());
$this->assertEquals('Chrome', $header->getValue());
$this->assertEquals('user-agent :Chrome', $header);
$this->assertEquals('user-agent: Chrome', $header);
}
/**
* @test
Expand All @@ -34,6 +34,6 @@ public function test02() {
$header = new HttpHeader('User Agent', 'Chrome');
$this->assertEquals('http-header', $header->getName());
$this->assertEquals('Chrome', $header->getValue());
$this->assertEquals('http-header :Chrome', $header);
$this->assertEquals('http-header: Chrome', $header);
}
}

0 comments on commit 3899c23

Please sign in to comment.