plesk / api-php-lib

PHP library for Plesk XML-RPC interface
Other
139 stars 80 forks source link

Add test for Update Certificate #124

Closed Stas-81 closed 1 year ago

Stas-81 commented 1 year ago

Added test for update certificate scenario:

  1. create certificate
  2. install certificate serverwide
  3. update installed certificate

tests execution: Certificate (PleskXTest\Certificate) ✔ Generate 392 ms ✔ Install 661 ms ✔ Update 768 ms ✔ Delete 434 ms

codecov-commenter commented 1 year ago

Codecov Report

Patch coverage: 100.00% and project coverage change: +0.11 :tada:

Comparison is base (94bcd0b) 92.30% compared to head (9580357) 92.42%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #124 +/- ## ============================================ + Coverage 92.30% 92.42% +0.11% - Complexity 379 387 +8 ============================================ Files 83 83 Lines 1118 1135 +17 ============================================ + Hits 1032 1049 +17 Misses 86 86 ``` | [Impacted Files](https://app.codecov.io/gh/plesk/api-php-lib/pull/124?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=plesk) | Coverage Δ | | |---|---|---| | [src/Api/Operator/Certificate.php](https://app.codecov.io/gh/plesk/api-php-lib/pull/124?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=plesk#diff-c3JjL0FwaS9PcGVyYXRvci9DZXJ0aWZpY2F0ZS5waHA=) | `100.00% <100.00%> (ø)` | | | [src/Api/Struct/Certificate/Info.php](https://app.codecov.io/gh/plesk/api-php-lib/pull/124?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=plesk#diff-c3JjL0FwaS9TdHJ1Y3QvQ2VydGlmaWNhdGUvSW5mby5waHA=) | `100.00% <100.00%> (ø)` | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.