Skip to content

Commit

Permalink
make test more obvious
Browse files Browse the repository at this point in the history
  • Loading branch information
uyab committed Aug 27, 2017
1 parent f99cb2d commit b1d8127
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/AvatarPhpTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ public function it_can_override_attributes_when_instantiated()
$config = [
'ascii' => false,
'shape' => 'circle',
'width' => 100,
'height' => 100,
'width' => 200,
'height' => 200,
'chars' => 2,
'fontSize' => 48,
'fonts' => ['arial.ttf'],
Expand All @@ -24,8 +24,8 @@ public function it_can_override_attributes_when_instantiated()

$this->assertAttributeEquals(2, 'chars', $avatar);
$this->assertAttributeEquals('circle', 'shape', $avatar);
$this->assertAttributeEquals(100, 'width', $avatar);
$this->assertAttributeEquals(100, 'height', $avatar);
$this->assertAttributeEquals(200, 'width', $avatar);
$this->assertAttributeEquals(200, 'height', $avatar);
$this->assertAttributeEquals(['#000000'], 'availableBackgrounds', $avatar);
$this->assertAttributeEquals(['#FFFFFF'], 'availableForegrounds', $avatar);
$this->assertAttributeEquals(['arial.ttf'], 'fonts', $avatar);
Expand Down

0 comments on commit b1d8127

Please sign in to comment.