Skip to content

Commit

Permalink
Remove advisory_hours_used and advisory_hours_total. (#249)
Browse files Browse the repository at this point in the history
* Remove advisory_hours_used and advisory_hours_total.

* Removing from test fixtures.
  • Loading branch information
grasmash authored Jun 7, 2022
1 parent 0a6335b commit 410d61c
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 22 deletions.
12 changes: 0 additions & 12 deletions src/Response/SubscriptionResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,16 +44,6 @@ class SubscriptionResponse
*/
public $applications_used;

/**
* @var int $advisory_hours_total
*/
public $advisory_hours_total;

/**
* @var int $advisory_hours_used
*/
public $advisory_hours_used;

/**
* @var object $organization
*/
Expand Down Expand Up @@ -82,8 +72,6 @@ public function __construct($subscription)
$this->product = $subscription->product;
$this->applications_total = $subscription->applications_total;
$this->applications_used = $subscription->applications_used;
$this->advisory_hours_total = $subscription->advisory_hours_total;
$this->advisory_hours_used = $subscription->advisory_hours_used;
$this->organization = $subscription->organization;
$this->flags = $subscription->flags;
$this->links = $subscription->_links;
Expand Down
2 changes: 0 additions & 2 deletions tests/Endpoints/SubscriptionsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ class SubscriptionsTest extends CloudApiTestCase
'product',
'applications_total',
'applications_used',
'advisory_hours_total',
'advisory_hours_used',
'organization',
'flags',
'links'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@
},
"applications_total": 3,
"applications_used": 1,
"advisory_hours_total": 1.23,
"advisory_hours_used": 4.56,
"organization": {
"uuid": "39f38840-c494-4622-80a5-fc40269cb42d",
"name": "Acquia Inc."
Expand Down Expand Up @@ -79,8 +77,6 @@
},
"applications_total": 5,
"applications_used": 2,
"advisory_hours_total": 2.34,
"advisory_hours_used": 5.67,
"organization": {
"uuid": "93c97126-2870-47f0-9ffd-9a92033c443e",
"name": "My Organization"
Expand Down Expand Up @@ -123,8 +119,6 @@
},
"applications_total": 5,
"applications_used": 2,
"advisory_hours_total": 3.45,
"advisory_hours_used": 6.78,
"organization": {
"uuid": "93c97126-2870-47f0-9ffd-9a92033c443e",
"name": "My Organization"
Expand Down
2 changes: 0 additions & 2 deletions tests/Fixtures/Endpoints/Subscriptions/getSubscription.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@
},
"applications_total": 10,
"applications_used": 0,
"advisory_hours_total": 0,
"advisory_hours_used": 0,
"organization": {
"uuid": "93c97126-2870-47f0-9ffd-9a92033c443e",
"name": "My Organization"
Expand Down

0 comments on commit 410d61c

Please sign in to comment.