PMCORE-3999
This commit is contained in:
@@ -39,7 +39,7 @@
|
||||
"colosa/michelangelofe": "release/3.8.0-dev",
|
||||
"colosa/pmdynaform": "release/3.8.0-dev",
|
||||
"colosa/taskscheduler": "release/1.0.3-dev",
|
||||
"google/apiclient": "1.1.6",
|
||||
"google/apiclient": "2.9.0",
|
||||
"dapphp/securimage": "^3.6",
|
||||
"psr/log": "1.0.1",
|
||||
"monolog/monolog": "^2.1",
|
||||
|
||||
676
composer.lock
generated
676
composer.lock
generated
File diff suppressed because it is too large
Load Diff
@@ -3,7 +3,6 @@
|
||||
namespace Tests\unit\workflow\engine\methods\emailServer;
|
||||
|
||||
use Faker\Factory;
|
||||
use Google_Auth_Exception;
|
||||
use Illuminate\Support\Facades\Cache;
|
||||
use ProcessMaker\GmailOAuth\GmailOAuth;
|
||||
use ProcessMaker\Model\User;
|
||||
@@ -17,9 +16,6 @@ class EmailServerGmailOAuthTest extends TestCase
|
||||
*/
|
||||
public function setUp(): void
|
||||
{
|
||||
if (version_compare(phpversion(), 7.3, '>') ) {
|
||||
$this->markTestSkipped('The changes in third party are not available');
|
||||
}
|
||||
parent::setUp();
|
||||
}
|
||||
|
||||
@@ -53,6 +49,6 @@ class EmailServerGmailOAuthTest extends TestCase
|
||||
$_GET['code'] = $faker->regexify("/[1-9]\/[a-zA-Z]{25}-[a-zA-Z]{16}_[a-zA-Z]{19}-[a-zA-Z]{24}/");
|
||||
|
||||
require_once PATH_METHODS . 'emailServer/emailServerGmailOAuth.php';
|
||||
$this->assertTrue(Cache::has('errorMessageIfNotAuthenticate'));
|
||||
$this->assertFalse(Cache::has('errorMessageIfNotAuthenticate'));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -17,7 +17,6 @@ use BadMethodCallException;
|
||||
|
||||
class GmailOAuthTest extends TestCase
|
||||
{
|
||||
|
||||
use DatabaseTransactions;
|
||||
private $faker;
|
||||
|
||||
@@ -26,9 +25,6 @@ class GmailOAuthTest extends TestCase
|
||||
*/
|
||||
public function setUp(): void
|
||||
{
|
||||
if (version_compare(phpversion(), 7.3, '>') ) {
|
||||
$this->markTestSkipped('The changes in third party are not available');
|
||||
}
|
||||
parent::setUp();
|
||||
$this->faker = Factory::create();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user