fixing assert arguments order on tests

This commit is contained in:
Leo Germani 2017-12-07 11:54:43 -02:00
parent dc40e2612f
commit 139e93f191
1 changed files with 3 additions and 3 deletions

View File

@ -33,9 +33,9 @@ class Collections extends TAINACAN_UnitTestCase {
$test = $Tainacan_Collections->fetch($x->get_id()); $test = $Tainacan_Collections->fetch($x->get_id());
$this->assertEquals($test->get_name(), 'teste'); $this->assertEquals('teste', $test->get_name());
$this->assertEquals($test->get_description(), 'adasdasdsa'); $this->assertEquals('adasdasdsa', $test->get_description());
$this->assertEquals($test->get_default_order(), 'DESC'); $this->assertEquals('DESC', $test->get_default_order());
$this->assertEquals('draft', $test->get_status()); $this->assertEquals('draft', $test->get_status());
} }