Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
chriskapp committed Sep 25, 2022
1 parent 51bd714 commit 8721a60
Showing 1 changed file with 17 additions and 10 deletions.
27 changes: 17 additions & 10 deletions tests/Backend/Api/Config/CollectionTest.php
Expand Up @@ -62,7 +62,7 @@ public function testGet()
$actual = (string) $response->getBody();
$expect = <<<'JSON'
{
"totalResults": 35,
"totalResults": 36,
"startIndex": 0,
"itemsPerPage": 16,
"entry": [
Expand Down Expand Up @@ -225,7 +225,7 @@ public function testGetCount()
$actual = (string) $response->getBody();
$expect = <<<'JSON'
{
"totalResults": 35,
"totalResults": 36,
"startIndex": 0,
"itemsPerPage": 80,
"entry": [
Expand Down Expand Up @@ -356,12 +356,19 @@ public function testGetCount()
"value": "Fusio registration"
},
{
"id": 28,
"id": 29,
"type": 1,
"name": "payment_currency",
"description": "The three-character ISO-4217 currency code which is used to process payments",
"value": ""
},
{
"id": 28,
"type": 1,
"name": "payment_stripe_portal_configuration",
"description": "The stripe portal configuration id",
"value": ""
},
{
"id": 27,
"type": 1,
Expand All @@ -370,14 +377,14 @@ public function testGetCount()
"value": ""
},
{
"id": 30,
"id": 31,
"type": 3,
"name": "points_default",
"description": "The default amount of points which a user receives if he registers",
"value": 0
},
{
"id": 31,
"id": 32,
"type": 3,
"name": "points_threshold",
"description": "If a user goes below this points threshold we send an information to the user",
Expand Down Expand Up @@ -440,35 +447,35 @@ public function testGetCount()
"value": ""
},
{
"id": 29,
"id": 30,
"type": 1,
"name": "role_default",
"description": "Default role which a user gets assigned on registration",
"value": "Consumer"
},
{
"id": 33,
"id": 34,
"type": 1,
"name": "system_dispatcher",
"description": "Optional a HTTP or message queue connection which is used to dispatch events",
"value": ""
},
{
"id": 32,
"id": 33,
"type": 1,
"name": "system_mailer",
"description": "Optional a SMTP connection which is used as mailer",
"value": ""
},
{
"id": 35,
"id": 36,
"type": 2,
"name": "user_approval",
"description": "Whether the user needs to activate the account through an email",
"value": true
},
{
"id": 34,
"id": 35,
"type": 3,
"name": "user_pw_length",
"description": "Minimal required password length",
Expand Down

0 comments on commit 8721a60

Please sign in to comment.