Commits on Source (3)
-
Matt Glaman authored
* DIT-962 Improve telemetry module list * DIT-962 keep acms check
-
Matt Glaman authored
-
nkoporec authored
* Don't make calls to Cloud API if the api key is missing * Uncomment the lines that should not be commented out * Fix tests * Fix tests * Move the getCloudApiClient to try block so it can catch exceptions, remove logging the exception * Remove not used imports * Cleanup the catch block * Add a helper method to populate oAuth settings during tests * Add test for exception if token data is missing * Add a test for getSubscription method * Fix a bug with defaultSubscription data * Fix a typo
Showing
- acquia_connector.module 11 additions, 0 deletionsacquia_connector.module
- acquia_connector.post_update.php 10 additions, 1 deletionacquia_connector.post_update.php
- src/Client/ClientFactory.php 5 additions, 0 deletionssrc/Client/ClientFactory.php
- src/EventSubscriber/KernelTerminate/AcquiaTelemetry.php 3 additions, 3 deletionssrc/EventSubscriber/KernelTerminate/AcquiaTelemetry.php
- src/Subscription.php 2 additions, 2 deletionssrc/Subscription.php
- tests/src/Kernel/AcquiaConnectorTestBase.php 24 additions, 0 deletionstests/src/Kernel/AcquiaConnectorTestBase.php
- tests/src/Kernel/AcquiaTelemetryIntegrationTest.php 60 additions, 0 deletionstests/src/Kernel/AcquiaTelemetryIntegrationTest.php
- tests/src/Kernel/Client/ClientFactoryTest.php 15 additions, 11 deletionstests/src/Kernel/Client/ClientFactoryTest.php
- tests/src/Kernel/EventSubscriber/AcquiaTelemetryTest.php 1 addition, 0 deletionstests/src/Kernel/EventSubscriber/AcquiaTelemetryTest.php
- tests/src/Kernel/SubscriptionRefreshTest.php 30 additions, 0 deletionstests/src/Kernel/SubscriptionRefreshTest.php
- tests/src/Unit/AcquiaTelemetryTest.php 57 additions, 0 deletionstests/src/Unit/AcquiaTelemetryTest.php
tests/src/Unit/AcquiaTelemetryTest.php
0 → 100644