Skip to content

Conversation

JamieSinn
Copy link
Member

No description provided.

@JamieSinn JamieSinn requested review from a team March 12, 2025 15:11
@JamieSinn JamieSinn enabled auto-merge (squash) March 12, 2025 15:22

$structResult = self::$openFeatureClient->getObjectValue('php-sdk-struct', array(), self::$context);
self::assertEquals(array("key"=>"value", "number"=>1, "bool"=>true, "nested"=>array("key"=>"value")), $structResult);
$structResult = self::$openFeatureClient->getObjectValue('test-json-variable', array(), self::$context);

Choose a reason for hiding this comment

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

should we not test this with an object response?

Copy link
Member Author

Choose a reason for hiding this comment

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

Not really - we can't guarantee the format given the source test projects change all the time - this just prevents us from breaking things; I'm confident that the other tests provide safety on this (namely test harness)

@JamieSinn JamieSinn merged commit a2ea8b3 into main Mar 12, 2025
6 checks passed
@JamieSinn JamieSinn deleted the update-php-deps branch March 12, 2025 15:38
@JamieSinn JamieSinn restored the update-php-deps branch March 12, 2025 15:38
@JamieSinn JamieSinn deleted the update-php-deps branch March 12, 2025 15:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants