Skip to content

Commit

Permalink
Set appends to public so it can be mutated at runtime.
Browse files Browse the repository at this point in the history
  • Loading branch information
zakhenry committed Jul 3, 2015
1 parent 9b15579 commit a11fbb8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion api/app/Models/BaseModel.php
Expand Up @@ -14,7 +14,7 @@ abstract class BaseModel extends Model
*
* @var array
*/
protected $appends = ['self'];
public $appends = ['self'];

/**
* Get the access route for the entity.
Expand Down
1 change: 1 addition & 0 deletions api/tests/ModelFactoryTest.php
Expand Up @@ -2,6 +2,7 @@

/**
* Class ModelFactoryTest
* @group test
*/
class ModelFactoryTest extends TestCase
{
Expand Down

0 comments on commit a11fbb8

Please sign in to comment.