Skip to content

Commit

Permalink
Added testDirectlySet()
Browse files Browse the repository at this point in the history
  • Loading branch information
YamiOdymel committed Jul 5, 2016
1 parent 14eaa7f commit ee0df64
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions test/koruTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,15 @@ function testSet()
$this->assertEquals($data->username, 'foobar');
}

function testDirectlySet()
{
$data = Koru::build();

$data->username = 'foobar';

$this->assertEquals($data->username, 'foobar');
}

function testMultipleSet()
{
$data = ['username' => 'foobar',
Expand Down

0 comments on commit ee0df64

Please sign in to comment.