GoogleCloudPlatform / php-docs-samples

A collection of samples that demonstrate how to call Google Cloud services from PHP.
http://cloud.google.com/php
Apache License 2.0
957 stars 1.03k forks source link

fix: correct Run Deploy tests #1941

Closed glasnt closed 3 months ago

glasnt commented 8 months ago

Because region tags, the <?php occurs after the licence header, which appears verbatim in the source of the deployed service (though to a user only the helloworld message is displayed). Updating the testing assert to 'contains' should allow validation of (essentially) the visible output, without the stricter check.

This change should resolve errors in the deploy_misc test