Skip to content

Commit c0ede7e

Browse files
committed
Fix ItemTest failing.
1 parent 1a98804 commit c0ede7e

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

tests/BaseTester.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,15 @@ protected function checkGroupProperties($group)
115115
$this->checkGroupMemberProperties($group);
116116
}
117117

118+
/**
119+
* @param $item
120+
*/
121+
protected function checkItemProperties($item)
122+
{
123+
$attributes = ['id', 'originalId', 'level', 'quality', 'quantity'];
124+
$this->assertObjectHasAttributes($attributes, $item);
125+
}
126+
118127
/**
119128
* @param $app
120129
*/

tests/ItemTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
require_once 'BaseTester.php';
3+
require_once('BaseTester.php');
44

55
/** @group Item */
66
class ItemTest extends BaseTester

0 commit comments

Comments
 (0)