Skip to content

Commit

Permalink
Merge pull request phalcon#14846 from andejong/unittest
Browse files Browse the repository at this point in the history
Unittest
  • Loading branch information
ruudboon authored Feb 14, 2020
2 parents 05904af + 293a88c commit 656368d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This folder contains all the tests for the Phalcon Framework.

## Codeception 4 + docker method
```
cp tests/ci/.env.default .env
cp tests/_ci/.env.default .env
cd tests
docker-compose up -d
cd ..
Expand Down
12 changes: 9 additions & 3 deletions tests/unit/Assets/Collection/ConstructCest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,26 @@

namespace Phalcon\Test\Unit\Assets\Collection;

use Phalcon\Assets\Collection;
use UnitTester;

class ConstructCest
{
/**
* Tests Phalcon\Assets\Collection :: __construct()
*
* @author Phalcon Team <team@phalcon.io>
* @since 2018-11-13
* @author Naut de Jong <https://github.com/andejong>
* @since 2020-02-14
*/
public function assetsCollectionConstruct(UnitTester $I)
{
$I->wantToTest('Assets\Collection - __construct()');

$I->skipTest('Need implementation');
$collection = new Collection();

$I->assertInstanceOf(
Collection::class,
$collection
);
}
}

0 comments on commit 656368d

Please sign in to comment.