这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@flovntp
Copy link
Collaborator

@flovntp flovntp commented Oct 31, 2025

No description provided.

@codecov
Copy link

codecov bot commented Oct 31, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds comprehensive test coverage for three core SDK classes: UpsunClient, UpsunConfig, and OAuthProvider. Additionally, it reorganizes the test suite by correcting namespace paths for all task-related test files.

  • Introduces new test files for UpsunClient, UpsunConfig, and OAuthProvider classes with thorough coverage of their functionality
  • Fixes namespace declarations across all task test files to follow proper directory structure
  • Reorganizes import statements in task test files for better code organization
  • Removes coverage logging configuration from phpunit.xml

Reviewed Changes

Copilot reviewed 23 out of 23 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
tests/UpsunConfigTest.php New comprehensive test suite for UpsunConfig class covering constructor validation, property access, and configuration scenarios
tests/UpsunClientTest.php New test suite for UpsunClient class testing initialization of all task objects and client configuration
tests/Core/OAuthProviderTest.php New test suite for OAuthProvider class covering token exchange, authorization, and error handling scenarios
tests/Core/Tasks/*.php Updated namespace declarations from Upsun\Tests\Core to Upsun\Tests\Core\Tasks and reorganized imports
phpunit.xml Removed coverage logging configuration

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Theosakamg Theosakamg merged commit 71cc625 into fix-readme-badges Oct 31, 2025
9 checks passed
@flovntp flovntp deleted the fix-unit-tests branch November 3, 2025 10:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants