All checks were successful
Build, Push and Deploy / build-and-push (push) Successful in 3m3s
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 16s
Build, Push and Deploy / deploy-staging (push) Successful in 32s
Build, Push and Deploy / deploy-production (push) Has been skipped
Build, Push and Deploy / cleanup (push) Successful in 1s
18 lines
756 B
PHP
18 lines
756 B
PHP
<?php
|
|
|
|
use DG\BypassFinals;
|
|
use Google\ApiCore\Testing\MessageAwareArrayComparator;
|
|
use Google\ApiCore\Testing\ProtobufGPBEmptyComparator;
|
|
use Google\ApiCore\Testing\ProtobufMessageComparator;
|
|
|
|
date_default_timezone_set('UTC');
|
|
\SebastianBergmann\Comparator\Factory::getInstance()->register(new MessageAwareArrayComparator());
|
|
\SebastianBergmann\Comparator\Factory::getInstance()->register(new ProtobufMessageComparator());
|
|
\SebastianBergmann\Comparator\Factory::getInstance()->register(new ProtobufGPBEmptyComparator());
|
|
|
|
// Make sure that while testing we bypass the `final` keyword for the GAPIC client.
|
|
// Only run this if the individual component has the helper package installed
|
|
if (class_exists(BypassFinals::class)) {
|
|
BypassFinals::enable();
|
|
}
|