fix assert order

This commit is contained in:
Jacson Passold 2017-11-24 16:54:52 -02:00
parent 9d3e21c32f
commit fdf2818f11
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ class Items extends \WP_UnitTestCase {
$this->assertTrue( isset($meta_test[$metadata->get_id()]) );
$this->assertTrue( $meta_test[$metadata->get_id()] instanceof \Tainacan\Entities\Item_Metadata_Entity );
$this->assertEquals( $meta_test[$metadata->get_id()]->get_value(), 'value_1');
$this->assertEquals( 'value_1', $meta_test[$metadata->get_id()]->get_value());
$i = new \Tainacan\Entities\Item();
$i->set_title('apple');