Add unit test for requestPeriodicReview() in LegalEntitiesApi#873
Closed
Copilot wants to merge 3 commits intosdk-automation/legalentitymanagementfrom
Closed
Add unit test for requestPeriodicReview() in LegalEntitiesApi#873Copilot wants to merge 3 commits intosdk-automation/legalentitymanagementfrom
Copilot wants to merge 3 commits intosdk-automation/legalentitymanagementfrom
Conversation
Co-authored-by: gcatanese <1771700+gcatanese@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add unit test for requestPeriodicReview method
Add unit test for requestPeriodicReview() in LegalEntitiesApi
Jan 21, 2026
|
bc974f6 to
a096df3
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Adds test coverage for the
requestPeriodicReview()method inLegalEntitiesApi.Changes:
testRequestPeriodicReview()following existing patterns (similar totestDeleteDocuments())request-periodic-review.jsonwith empty JSON object (method returns void)/legalEntities/{id}/requestPeriodicReviewWarning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
https://api.github.com/repos/PHP-CS-Fixer/PHP-CS-Fixer/zipball/260cc8c4a1d2f6d2f22cd4f9c70aa72e55ebac58/usr/local/bin/php php /usr/bin/composer install --prefer-dist --no-interaction(http block)https://api.github.com/repos/PHPCSStandards/PHP_CodeSniffer/zipball/86e5f5dd9a840c46810ebe5ff1885581c42a3017/usr/local/bin/php php /usr/bin/composer install --prefer-dist --no-interaction(http block)https://api.github.com/repos/clue/reactphp-ndjson/zipball/392dc165fce93b5bb5c637b67e59619223c931b0/usr/local/bin/php php /usr/bin/composer install --prefer-dist --no-interaction(http block)https://api.github.com/repos/composer/pcre/zipball/b2bed4734f0cc156ee1fe9c0da2550420d99a21e/usr/bin/php8.3 /usr/bin/php8.3 -n -c /tmp/110dm6 /usr/bin/composer install(http block)/usr/bin/php8.3 /usr/bin/php8.3 -n -c /tmp/vxzUQp /usr/bin/composer install -vv(http block)/usr/local/bin/php php /usr/bin/composer install --prefer-dist --no-interaction(http block)https://api.github.com/repos/composer/semver/zipball/198166618906cb2de69b95d7d47e5fa8aa1b2b95/usr/local/bin/php php /usr/bin/composer install --prefer-dist --no-interaction(http block)https://api.github.com/repos/composer/xdebug-handler/zipball/6c1925561632e83d60a44492e0b344cf48ab85ef/usr/local/bin/php php /usr/bin/composer install --prefer-dist --no-interaction(http block)https://api.github.com/repos/doctrine/instantiator/zipball/c6222283fa3f4ac679f8b9ced9a4e23f163e80d0/usr/local/bin/php php /usr/bin/composer install --prefer-dist --no-interaction(http block)https://api.github.com/repos/guzzle/guzzle/zipball/b51ac707cfa420b7bfd4e4d5e510ba8008e822b4/usr/local/bin/php php /usr/bin/composer install --prefer-dist --no-interaction(http block)https://api.github.com/repos/guzzle/promises/zipball/481557b130ef3790cf82b713667b43030dc9c957/usr/local/bin/php php /usr/bin/composer install --prefer-dist --no-interaction(http block)https://api.github.com/repos/guzzle/psr7/zipball/21dc724a0583619cd1652f673303492272778051/usr/local/bin/php php /usr/bin/composer install --prefer-dist --no-interaction(http block)https://api.github.com/repos/igorw/evenement/zipball/0a16b0d71ab13284339abb99d9d2bd813640efbc/usr/local/bin/php php /usr/bin/composer install --prefer-dist --no-interaction(http block)https://api.github.com/repos/myclabs/DeepCopy/zipball/07d290f0c47959fd5eed98c95ee5602db07e0b6a/usr/local/bin/php php /usr/bin/composer install --prefer-dist --no-interaction(http block)https://api.github.com/repos/phar-io/manifest/zipball/54750ef60c58e43759730615a392c31c80e23176/usr/local/bin/php php /usr/bin/composer install --prefer-dist --no-interaction(http block)https://api.github.com/repos/phar-io/version/zipball/4f7fd7836c6f332bb2933569e566a0d6c4cbed74/usr/local/bin/php php /usr/bin/composer install --prefer-dist --no-interaction(http block)https://api.github.com/repos/php-coveralls/php-coveralls/zipball/b36fa4394e519dafaddc04ae03976bc65a25ba15/usr/local/bin/php php /usr/bin/composer install --prefer-dist --no-interaction(http block)https://api.github.com/repos/php-fig/container/zipball/c71ecc56dfe541dbd90c5360474fbc405f8d5963/usr/local/bin/php php /usr/bin/composer install --prefer-dist --no-interaction(http block)https://api.github.com/repos/php-fig/event-dispatcher/zipball/dbefd12671e8a14ec7f180cab83036ed26714bb0/usr/local/bin/php php /usr/bin/composer install --prefer-dist --no-interaction(http block)https://api.github.com/repos/php-fig/http-client/zipball/bb5906edc1c324c9a05aa0873d40117941e5fa90/usr/local/bin/php php /usr/bin/composer install --prefer-dist --no-interaction(http block)https://api.github.com/repos/php-fig/http-factory/zipball/2b4765fddfe3b508ac62f829e852b1501d3f6e8a/usr/local/bin/php php /usr/bin/composer install --prefer-dist --no-interaction(http block)https://api.github.com/repos/php-fig/http-message/zipball/402d35bcb92c70c026d1a6a9883f06b2ead23d71/usr/local/bin/php php /usr/bin/composer install --prefer-dist --no-interaction(http block)https://api.github.com/repos/php-fig/log/zipball/ef29f6d262798707a9edd554e2b82517ef3a9376/usr/local/bin/php php /usr/bin/composer install --prefer-dist --no-interaction(http block)https://api.github.com/repos/ralouphie/getallheaders/zipball/120b605dfeb996808c31b6477290a714d356e822/usr/local/bin/php php /usr/bin/composer install --prefer-dist --no-interaction(http block)https://api.github.com/repos/rdohms/phpunit-arraysubset-asserts/zipball/aa6b9e858414e91cca361cac3b2035ee57d212e0/usr/local/bin/php php /usr/bin/composer install --prefer-dist --no-interaction(http block)https://api.github.com/repos/reactphp/cache/zipball/d47c472b64aa5608225f47965a484b75c7817d5b/usr/local/bin/php php /usr/bin/composer install --prefer-dist --no-interaction(http block)https://api.github.com/repos/reactphp/child-process/zipball/970f0e71945556422ee4570ccbabaedc3cf04ad3/usr/local/bin/php php /usr/bin/composer install --prefer-dist --no-interaction(http block)https://api.github.com/repos/reactphp/dns/zipball/7562c05391f42701c1fccf189c8225fece1cd7c3/usr/local/bin/php php /usr/bin/composer install --prefer-dist --no-interaction(http block)https://api.github.com/repos/reactphp/event-loop/zipball/ba276bda6083df7e0050fd9b33f66ad7a4ac747a/usr/local/bin/php php /usr/bin/composer install --prefer-dist --no-interaction(http block)https://api.github.com/repos/reactphp/promise/zipball/23444f53a813a3296c1368bb104793ce8d88f04a/usr/local/bin/php php /usr/bin/composer install --prefer-dist --no-interaction(http block)https://api.github.com/repos/reactphp/socket/zipball/ef5b17b81f6f60504c539313f94f2d826c5faa08/usr/local/bin/php php /usr/bin/composer install --prefer-dist --no-interaction(http block)https://api.github.com/repos/reactphp/stream/zipball/1e5b0acb8fe55143b5b426817155190eb6f5b18d/usr/local/bin/php php /usr/bin/composer install --prefer-dist --no-interaction(http block)https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5/usr/local/bin/php php /usr/bin/composer install --prefer-dist --no-interaction(http block)https://api.github.com/repos/sebastianbergmann/code-unit/zipball/1fc9f64c0927627ef78ba436c9b17d967e68e120/usr/local/bin/php php /usr/bin/composer install --prefer-dist --no-interaction(http block)https://api.github.com/repos/sebastianbergmann/comparator/zipball/67a2df3a62639eab2cc5906065e9805d4fd5dfc5/usr/local/bin/php php /usr/bin/composer install --prefer-dist --no-interaction(http block)https://api.github.com/repos/sebastianbergmann/complexity/zipball/25f207c40d62b8b7aa32f5ab026c53561964053a/usr/local/bin/php php /usr/bin/composer install --prefer-dist --no-interaction(http block)https://api.github.com/repos/sebastianbergmann/diff/zipball/ba01945089c3a293b01ba9badc29ad55b106b0bc/usr/local/bin/php php /usr/bin/composer install --prefer-dist --no-interaction(http block)https://api.github.com/repos/sebastianbergmann/environment/zipball/830c43a844f1f8d5b7a1f6d6076b784454d8b7ed/usr/local/bin/php php /usr/bin/composer install --prefer-dist --no-interaction(http block)https://api.github.com/repos/sebastianbergmann/exporter/zipball/14c6ba52f95a36c3d27c835d65efc7123c446e8c/usr/local/bin/php php /usr/bin/composer install --prefer-dist --no-interaction(http block)https://api.github.com/repos/sebastianbergmann/global-state/zipball/b6781316bdcd28260904e7cc18ec983d0d2ef4f6/usr/bin/php8.3 /usr/bin/php8.3 -n -c /tmp/110dm6 /usr/bin/composer install(http block)/usr/bin/php8.3 /usr/bin/php8.3 -n -c /tmp/vxzUQp /usr/bin/composer install -vv(http block)/usr/local/bin/php php /usr/bin/composer install --prefer-dist --no-interaction(http block)https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/e1e4a170560925c26d424b6a03aed157e7dcc5c5/usr/local/bin/php php /usr/bin/composer install --prefer-dist --no-interaction(http block)https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/5c9eeac41b290a3712d88851518825ad78f45c71/usr/bin/php8.3 /usr/bin/php8.3 -n -c /tmp/110dm6 /usr/bin/composer install(http block)/usr/bin/php8.3 /usr/bin/php8.3 -n -c /tmp/vxzUQp /usr/bin/composer install -vv(http block)/usr/local/bin/php php /usr/bin/composer install --prefer-dist --no-interaction(http block)https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/b4f479ebdbf63ac605d183ece17d8d7fe49c15c7/usr/bin/php8.3 /usr/bin/php8.3 -n -c /tmp/110dm6 /usr/bin/composer install(http block)/usr/bin/php8.3 /usr/bin/php8.3 -n -c /tmp/vxzUQp /usr/bin/composer install -vv(http block)/usr/local/bin/php php /usr/bin/composer install --prefer-dist --no-interaction(http block)https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/85402a822d1ecf1db1096959413d35e1c37cf1a5/usr/local/bin/php php /usr/bin/composer install --prefer-dist --no-interaction(http block)https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf/usr/local/bin/php php /usr/bin/composer install --prefer-dist --no-interaction(http block)https://api.github.com/repos/sebastianbergmann/php-invoker/zipball/5a10147d0aaf65b58940a0b72f71c9ac0423cc67/usr/local/bin/php php /usr/bin/composer install --prefer-dist --no-interaction(http block)https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28/usr/local/bin/php php /usr/bin/composer install --prefer-dist --no-interaction(http block)https://api.github.com/repos/sebastianbergmann/phpunit/zipball/43d2cb18d0675c38bd44982a5d1d88f6d53d8d95/usr/local/bin/php php /usr/bin/composer install --prefer-dist --no-interaction(http block)https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/539c6691e0623af6dc6f9c20384c120f963465a0/usr/bin/php8.3 /usr/bin/php8.3 -n -c /tmp/110dm6 /usr/bin/composer install(http block)/usr/bin/php8.3 /usr/bin/php8.3 -n -c /tmp/vxzUQp /usr/bin/composer install -vv(http block)/usr/local/bin/php php /usr/bin/composer install --prefer-dist --no-interaction(http block)https://api.github.com/repos/sebastianbergmann/resource-operations/zipball/05d5692a7993ecccd56a03e40cd7e5b09b1d404e/usr/bin/php8.3 /usr/bin/php8.3 -n -c /tmp/110dm6 /usr/bin/composer install(http block)/usr/bin/php8.3 /usr/bin/php8.3 -n -c /tmp/vxzUQp /usr/bin/composer install -vv(http block)/usr/local/bin/php php /usr/bin/composer install --prefer-dist --no-interaction(http block)https://api.github.com/repos/sebastianbergmann/type/zipball/75e2c2a32f5e0b3aef905b9ed0b179b953b3d7c7/usr/bin/php8.3 /usr/bin/php8.3 -n -c /tmp/110dm6 /usr/bin/composer install(http block)/usr/bin/php8.3 /usr/bin/php8.3 -n -c /tmp/vxzUQp /usr/bin/composer install -vv(http block)/usr/local/bin/php php /usr/bin/composer install --prefer-dist --no-interaction(http block)https://api.github.com/repos/sebastianbergmann/version/zipball/c6c1022351a901512170118436c764e473f6de8c/usr/bin/php8.3 /usr/bin/php8.3 -n -c /tmp/110dm6 /usr/bin/composer install(http block)/usr/bin/php8.3 /usr/bin/php8.3 -n -c /tmp/vxzUQp /usr/bin/composer install -vv(http block)/usr/local/bin/php php /usr/bin/composer install --prefer-dist --no-interaction(http block)https://api.github.com/repos/symfony/config/zipball/800ce889e358a53a9678b3212b0c8cecd8c6aace/usr/local/bin/php php /usr/bin/composer install --prefer-dist --no-interaction(http block)https://api.github.com/repos/symfony/console/zipball/732a9ca6cd9dfd940c639062d5edbde2f6727fb6/usr/local/bin/php php /usr/bin/composer install --prefer-dist --no-interaction(http block)https://api.github.com/repos/symfony/deprecation-contracts/zipball/63afe740e99a13ba87ec199bb07bbdee937a5b62/usr/local/bin/php php /usr/bin/composer install --prefer-dist --no-interaction(http block)https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/59eb412e93815df44f05f342958efa9f46b1e586/usr/local/bin/php php /usr/bin/composer install --prefer-dist --no-interaction(http block)https://api.github.com/repos/symfony/event-dispatcher/zipball/9dddcddff1ef974ad87b3708e4b442dc38b2261d/usr/local/bin/php php /usr/bin/composer install --prefer-dist --no-interaction(http block)https://api.github.com/repos/symfony/filesystem/zipball/d551b38811096d0be9c4691d406991b47c0c630a/usr/local/bin/php php /usr/bin/composer install --prefer-dist --no-interaction(http block)https://api.github.com/repos/symfony/finder/zipball/fffe05569336549b20a1be64250b40516d6e8d06/usr/local/bin/php php /usr/bin/composer install --prefer-dist --no-interaction(http block)https://api.github.com/repos/symfony/options-resolver/zipball/b38026df55197f9e39a44f3215788edf83187b80/usr/local/bin/php php /usr/bin/composer install --prefer-dist --no-interaction(http block)https://api.github.com/repos/symfony/polyfill-ctype/zipball/a3cc8b044a6ea513310cbd48ef7333b384945638/usr/local/bin/php php /usr/bin/composer install --prefer-dist --no-interaction(http block)https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/380872130d3a5dd3ace2f4010d95125fde5d5c70/usr/local/bin/php php /usr/bin/composer install --prefer-dist --no-interaction(http block)https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/3833d7255cc303546435cb650316bff708a1c75c/usr/local/bin/php php /usr/bin/composer install --prefer-dist --no-interaction(http block)https://api.github.com/repos/symfony/polyfill-mbstring/zipball/6d857f4d76bd4b343eac26d6b539585d2bc56493/usr/local/bin/php php /usr/bin/composer install --prefer-dist --no-interaction(http block)https://api.github.com/repos/symfony/polyfill-php80/zipball/0cc9dd0f17f61d8131e7df6b84bd344899fe2608/usr/local/bin/php php /usr/bin/composer install --prefer-dist --no-interaction(http block)https://api.github.com/repos/symfony/polyfill-php81/zipball/4a4cfc2d253c21a5ad0e53071df248ed48c6ce5c/usr/local/bin/php php /usr/bin/composer install --prefer-dist --no-interaction(http block)https://api.github.com/repos/symfony/polyfill-php84/zipball/d8ced4d875142b6a7426000426b8abc631d6b191/usr/local/bin/php php /usr/bin/composer install --prefer-dist --no-interaction(http block)https://api.github.com/repos/symfony/process/zipball/2f8e1a6cdf590ca63715da4d3a7a3327404a523f/usr/local/bin/php php /usr/bin/composer install --prefer-dist --no-interaction(http block)https://api.github.com/repos/symfony/service-contracts/zipball/45112560a3ba2d715666a509a0bc9521d10b6c43/usr/local/bin/php php /usr/bin/composer install --prefer-dist --no-interaction(http block)https://api.github.com/repos/symfony/stopwatch/zipball/8a24af0a2e8a872fb745047180649b8418303084/usr/local/bin/php php /usr/bin/composer install --prefer-dist --no-interaction(http block)https://api.github.com/repos/symfony/string/zipball/d50e862cb0a0e0886f73ca1f31b865efbb795003/usr/local/bin/php php /usr/bin/composer install --prefer-dist --no-interaction(http block)https://api.github.com/repos/symfony/yaml/zipball/24dd4de28d2e3988b311751ac49e684d783e2345/usr/local/bin/php php /usr/bin/composer install --prefer-dist --no-interaction(http block)https://api.github.com/repos/theofidry/cpu-core-counter/zipball/db9508f7b1474469d9d3c53b86f817e344732678/usr/local/bin/php php /usr/bin/composer install --prefer-dist --no-interaction(http block)https://api.github.com/repos/theseer/tokenizer/zipball/b7489ce515e168639d17feec34b8847c326b0b3c/usr/local/bin/php php /usr/bin/composer install --prefer-dist --no-interaction(http block)out.adyen.com/usr/bin/php php ./vendor/bin/phpunit --testsuite unit -c exec 'git' 'chec--keep-true-parents git .tmp-1800-pack am.git ymfony/filesystecheckout -core/git git clon�� '--' 'git@github.com:ralouphie/getallheaders.git' /tmp/cache/vcs/https---github.com-symfony-process.git/ /usr/sbin/git e6fc26f6202ed403git --reference /tmp/cache/vcs/h. git(dns block)outgoing1.adyen.com/usr/bin/php php ./vendor/bin/phpunit --testsuite unit -c exec 'git' 'chec--keep-true-parents git .tmp-1800-pack am.git ymfony/filesystecheckout -core/git git clon�� '--' 'git@github.com:ralouphie/getallheaders.git' /tmp/cache/vcs/https---github.com-symfony-process.git/ /usr/sbin/git e6fc26f6202ed403git --reference /tmp/cache/vcs/h. git(dns block)outgoing2.adyen.com/usr/bin/php php ./vendor/bin/phpunit --testsuite unit -c exec 'git' 'chec--keep-true-parents git .tmp-1800-pack am.git ymfony/filesystecheckout -core/git git clon�� '--' 'git@github.com:ralouphie/getallheaders.git' /tmp/cache/vcs/https---github.com-symfony-process.git/ /usr/sbin/git e6fc26f6202ed403git --reference /tmp/cache/vcs/h. git(dns block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
This pull request was created from Copilot chat.
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.