Skip to content

Relax check on internal object id, not relevant for the test#1998

Merged
GromNaN merged 1 commit into
mongodb:v2.xfrom
GromNaN:relax-tests
Apr 27, 2026
Merged

Relax check on internal object id, not relevant for the test#1998
GromNaN merged 1 commit into
mongodb:v2.xfrom
GromNaN:relax-tests

Conversation

@GromNaN
Copy link
Copy Markdown
Member

@GromNaN GromNaN commented Apr 24, 2026

An other implementation of the driver don't have to hold the same object id.

Copilot AI review requested due to automatic review settings April 24, 2026 21:54
@GromNaN GromNaN requested a review from a team as a code owner April 24, 2026 21:54
@GromNaN GromNaN requested review from paulinevos and removed request for a team April 24, 2026 21:54
Copy link
Copy Markdown
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

Updates an existing PHPT test expectation to avoid relying on a fixed internal stdClass object handle, which can vary between runs and PHP versions.

Changes:

  • Replaced hard-coded object(stdClass)#2 expectations with object(stdClass)#%d placeholders in --EXPECTF--.

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

@GromNaN GromNaN merged commit 88164ac into mongodb:v2.x Apr 27, 2026
47 checks passed
@GromNaN GromNaN deleted the relax-tests branch April 27, 2026 07:58
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