• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

comgate-payments / sdk-php / 37613364678
90%
master: 90%

Build:
Build:
LAST BUILD BRANCH: fix/payment-notification-json
DEFAULT BRANCH: master
Ran 07 Oct 2026 11:20AM UTC
Jobs 1
Files 97
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

22 Jul 2026 06:44AM UTC coverage: 90.351% (+5.9%) from 84.465%
37613364678

push

github

web-flow
Feature/functional coverage tests (#115)

* Add fixture-backed functional coverage for SDK workflows

* Remove internal coverage analysis report

* Make fixture router readable; drop env-mutating Cloudflare test

Rewrite tests/Support/Fixture/router.php for maintainability (named
helpers, sectioned routes, header comment explaining the fixture's
purpose) with identical behaviour - all fixture tests still pass.

Remove FixtureTransportCest::sendsCloudflareAccessHeaders and its
$_ENV unset in _after(): it mutated process-global $_ENV to force the
APPLICATION_ENV=sdk-github branch, which leaked across suites and broke
HelpersCest's env read.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* Replace fixture HTTP server with in-process transport mocks

Drop the fixture API server (IntegrationApi + router.php) that booted a
real php -S process to return canned Comgate responses. Each functional
test now drives Client/ClientTerminal through a small FakeTransport
double that queues its own responses and records what the SDK sent.

- Add tests/Support/FakeTransport.php (ITransport double)
- Rewrite the fixture Cests as *FunctionalCest using per-test mocks
- MOTO test owns its RSA key pair and decrypts what the SDK sent
- Remove the transport-level and download-subprocess tests that could
  not be meaningfully mocked

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

2135 of 2363 relevant lines covered (90.35%)

8.12 hits per line

Coverage Regressions

Lines Coverage ∆ File
1
98.39
2.02% src/Entity/PaymentNotification.php
Jobs
ID Job ID Ran Files Coverage
1 37613364678.1 07 Oct 2026 11:20AM UTC 97
90.35
GitHub Action Run
Source Files on build 37613364678
  • Tree
  • List 97
  • Changed 14
  • Source Changed 1
  • Coverage Changed 14
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #37613364678
  • 1adf5077 on github
  • Prev Build on master (#29815844361)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc