mirror of
https://github.com/barryvdh/ReflectionDocBlock.git
synced 2026-08-18 01:57:13 +00:00
Update tests.
This commit is contained in:
committed by
Jaap van Otterdijk
parent
8ba65bc4f0
commit
a5fb25393a
@@ -121,7 +121,7 @@ class AuthorTest extends \PHPUnit_Framework_TestCase
|
|||||||
{
|
{
|
||||||
$fixture = new Author('Mike van Riel', '[email protected]');
|
$fixture = new Author('Mike van Riel', '[email protected]');
|
||||||
|
|
||||||
$this->assertSame('Mike van Riel<[email protected]>', (string)$fixture);
|
$this->assertSame('Mike van Riel <[email protected]>', (string)$fixture);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -132,7 +132,7 @@ class AuthorTest extends \PHPUnit_Framework_TestCase
|
|||||||
{
|
{
|
||||||
$fixture = Author::create('Mike van Riel <[email protected]>');
|
$fixture = Author::create('Mike van Riel <[email protected]>');
|
||||||
|
|
||||||
$this->assertSame('Mike van Riel<[email protected]>', (string)$fixture);
|
$this->assertSame('Mike van Riel <[email protected]>', (string)$fixture);
|
||||||
$this->assertSame('Mike van Riel', $fixture->getAuthorName());
|
$this->assertSame('Mike van Riel', $fixture->getAuthorName());
|
||||||
$this->assertSame('[email protected]', $fixture->getEmail());
|
$this->assertSame('[email protected]', $fixture->getEmail());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user