Skip to content

Commit

Permalink
Merge branch 'QA_5_1' into QA_5_2
Browse files Browse the repository at this point in the history
  • Loading branch information
MauricioFauth committed Mar 25, 2022
2 parents 16aa04f + cbd23e5 commit 0b84aac
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions test/classes/GitTest.php
Expand Up @@ -200,6 +200,13 @@ public function testCheckGitRevisionPacksFolder(): void

$commit = $this->object->checkGitRevision();

if (
$commit === null
&& ! isset($_SESSION['PMA_VERSION_REMOTECOMMIT_17bf8b7309919f8ac593d7c563b31472780ee83b'])
) {
$this->markTestSkipped('Unable to get remote commit information.');
}

$this->assertIsArray($commit);
$this->assertArrayHasKey('hash', $commit);
$this->assertEquals('17bf8b7309919f8ac593d7c563b31472780ee83b', $commit['hash']);
Expand Down Expand Up @@ -317,6 +324,13 @@ public function testCheckGitRevisionPacksFile(): void

$commit = $this->object->checkGitRevision();

if (
$commit === null
&& ! isset($_SESSION['PMA_VERSION_REMOTECOMMIT_17bf8b7309919f8ac593d7c563b31472780ee83b'])
) {
$this->markTestSkipped('Unable to get remote commit information.');
}

$this->assertIsArray($commit);
$this->assertArrayHasKey('hash', $commit);
$this->assertEquals('17bf8b7309919f8ac593d7c563b31472780ee83b', $commit['hash']);
Expand Down

0 comments on commit 0b84aac

Please sign in to comment.