Skip to content

Commit

Permalink
Fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Grafikart committed Mar 13, 2017
1 parent 72a0f85 commit b596f77
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

class TagArrayToStringTransformerTest extends \PHPUnit\Framework\TestCase
{

/**
* Get a mocked instance of the TagArrayToStringTransformer.
*
Expand Down Expand Up @@ -39,12 +38,14 @@ public function getMockedTransformer($findByReturn = [])
* Creates a new TagEntity instance.
*
* @param $name
*
* @return Tag
*/
public function createTag($name)
{
$tag = new Tag();
$tag->setName($name);

return $tag;
}

Expand Down Expand Up @@ -104,13 +105,13 @@ public function testUsesAlreadyDefinedTags()
/**
* Tags should be transformed into a string.
*/
public function testTransform () {
public function testTransform()
{
$persisted_tags = [
$this->createTag('Hello'),
$this->createTag('World'),
];
$transformed = $this->getMockedTransformer()->transform($persisted_tags);
$this->assertSame('Hello,World', $transformed);
}

}
}

0 comments on commit b596f77

Please sign in to comment.