Skip to content

Commit

Permalink
use Nano\Tests\TestModel
Browse files Browse the repository at this point in the history
  • Loading branch information
macbre committed Mar 24, 2021
1 parent 5722b70 commit 33a99f1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions tests/ModelTest.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php

use Nano\NanoBaseTest;
use Nano\Tests\TestModel;

/**
* Set of unit tests for Model class
Expand Down
4 changes: 3 additions & 1 deletion tests/app/classes/TestModel.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
<?php

namespace Nano\Tests;

/**
* An example model
*
* @method array getFoo
*/
class TestModel extends Model
class TestModel extends \Model
{
public function __construct()
{
Expand Down

0 comments on commit 33a99f1

Please sign in to comment.