Skip to content

Commit

Permalink
#5 Codeception testing framework.
Browse files Browse the repository at this point in the history
- Created simple test
  • Loading branch information
dzinpa committed Oct 28, 2020
1 parent 0b272d3 commit bda5291
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions tests/unit/DbQueryCest.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?php

class DbQueryCest
{
public function _before(UnitTester $I)
{
}

public function testOrder(UnitTester $I)
{
$dbOrder = new \CleanBandits\DbQuery\Order\DbOrder(['id','ASC']);
$I->assertSame('0 id,1 ASC',$dbOrder->orderingFormatted());
}
}

0 comments on commit bda5291

Please sign in to comment.