Skip to content

Commit

Permalink
Removed magic value. (#120)
Browse files Browse the repository at this point in the history
  • Loading branch information
OGKevin committed Apr 3, 2018
1 parent 46c568c commit 4a0ee1a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tests/Model/Generated/Endpoint/TabUsageSingleTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@
*/
class TabUsageSingleTest extends BunqSdkTestBase
{
/**
* Error constants.
*/
const ERROR_ONLY_USER_COMPANY_CAN_CREATE_TABS = 'Only user company can create tabs.';

/**
* Field constants
*/
Expand Down Expand Up @@ -46,7 +51,7 @@ class TabUsageSingleTest extends BunqSdkTestBase
public function testCreateTab()
{
if (BunqContext::getUserContext()->isOnlyUserPersonSet()) {
static::markTestSkipped('Only user company can create tabs.');
static::markTestSkipped(self::ERROR_ONLY_USER_COMPANY_CAN_CREATE_TABS);
}

static::$tabUuid = TabUsageSingle::create(
Expand Down

0 comments on commit 4a0ee1a

Please sign in to comment.