mirror of
https://github.com/LibreSign/libresign.git
synced 2025-12-18 05:20:45 +01:00
fix: run update before install
Signed-off-by: Vitor Mattos <vitor@php.rio>
This commit is contained in:
parent
e0095cc320
commit
9d120496c1
10 changed files with 17 additions and 8 deletions
2
.github/workflows/behat-mariadb.yml
vendored
2
.github/workflows/behat-mariadb.yml
vendored
|
|
@ -69,7 +69,7 @@ jobs:
|
|||
echo "APP_NAME=${GITHUB_REPOSITORY##*/}" >> $GITHUB_ENV
|
||||
|
||||
- name: Install system dependencies
|
||||
run: sudo apt install poppler-utils
|
||||
run: sudo apt update && sudo apt install poppler-utils
|
||||
|
||||
- name: Checkout server
|
||||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
|
|
|
|||
2
.github/workflows/behat-mysql.yml
vendored
2
.github/workflows/behat-mysql.yml
vendored
|
|
@ -86,7 +86,7 @@ jobs:
|
|||
echo "APP_NAME=${GITHUB_REPOSITORY##*/}" >> $GITHUB_ENV
|
||||
|
||||
- name: Install system dependencies
|
||||
run: sudo apt install poppler-utils
|
||||
run: sudo apt update && sudo apt install poppler-utils
|
||||
|
||||
- name: Checkout server
|
||||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
|
|
|
|||
2
.github/workflows/behat-pgsql.yml
vendored
2
.github/workflows/behat-pgsql.yml
vendored
|
|
@ -85,7 +85,7 @@ jobs:
|
|||
echo "APP_NAME=${GITHUB_REPOSITORY##*/}" >> $GITHUB_ENV
|
||||
|
||||
- name: Install system dependencies
|
||||
run: sudo apt install poppler-utils
|
||||
run: sudo apt update && sudo apt install poppler-utils
|
||||
|
||||
- name: Checkout server
|
||||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
|
|
|
|||
2
.github/workflows/behat-sqlite.yml
vendored
2
.github/workflows/behat-sqlite.yml
vendored
|
|
@ -76,7 +76,7 @@ jobs:
|
|||
echo "APP_NAME=${GITHUB_REPOSITORY##*/}" >> $GITHUB_ENV
|
||||
|
||||
- name: Install system dependencies
|
||||
run: sudo apt install poppler-utils
|
||||
run: sudo apt update && sudo apt install poppler-utils
|
||||
|
||||
- name: Checkout server
|
||||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
|
|
|
|||
2
.github/workflows/phpunit-mariadb.yml
vendored
2
.github/workflows/phpunit-mariadb.yml
vendored
|
|
@ -90,7 +90,7 @@ jobs:
|
|||
echo "APP_NAME=${GITHUB_REPOSITORY##*/}" >> $GITHUB_ENV
|
||||
|
||||
- name: Install system dependencies
|
||||
run: sudo apt install poppler-utils
|
||||
run: sudo apt update && sudo apt install poppler-utils
|
||||
|
||||
- name: Checkout server
|
||||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
|
|
|
|||
2
.github/workflows/phpunit-mysql.yml
vendored
2
.github/workflows/phpunit-mysql.yml
vendored
|
|
@ -90,7 +90,7 @@ jobs:
|
|||
echo "APP_NAME=${GITHUB_REPOSITORY##*/}" >> $GITHUB_ENV
|
||||
|
||||
- name: Install system dependencies
|
||||
run: sudo apt install poppler-utils
|
||||
run: sudo apt update && sudo apt install poppler-utils
|
||||
|
||||
- name: Checkout server
|
||||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
|
|
|
|||
2
.github/workflows/phpunit-pgsql.yml
vendored
2
.github/workflows/phpunit-pgsql.yml
vendored
|
|
@ -91,7 +91,7 @@ jobs:
|
|||
echo "APP_NAME=${GITHUB_REPOSITORY##*/}" >> $GITHUB_ENV
|
||||
|
||||
- name: Install system dependencies
|
||||
run: sudo apt install poppler-utils
|
||||
run: sudo apt update && sudo apt install poppler-utils
|
||||
|
||||
- name: Checkout server
|
||||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
|
|
|
|||
2
.github/workflows/phpunit-sqlite.yml
vendored
2
.github/workflows/phpunit-sqlite.yml
vendored
|
|
@ -81,7 +81,7 @@ jobs:
|
|||
echo "APP_NAME=${GITHUB_REPOSITORY##*/}" >> $GITHUB_ENV
|
||||
|
||||
- name: Install system dependencies
|
||||
run: sudo apt install poppler-utils
|
||||
run: sudo apt update && sudo apt install poppler-utils
|
||||
|
||||
- name: Checkout server
|
||||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
|
|
|
|||
|
|
@ -401,6 +401,9 @@ final class ValidateHelperTest extends \OCA\Libresign\Tests\Unit\TestCase {
|
|||
}
|
||||
|
||||
public function testValidateIfNodeIdExistsWithSuccess() {
|
||||
$this->root
|
||||
->method('getUserFolder')
|
||||
->willReturn($this->root);
|
||||
$this->root
|
||||
->method('getById')
|
||||
->willReturn(['file']);
|
||||
|
|
|
|||
|
|
@ -374,6 +374,9 @@ final class AccountServiceTest extends \OCA\Libresign\Tests\Unit\TestCase {
|
|||
->method('getMountsForFileId')
|
||||
->willreturn([]);
|
||||
$node = $this->createMock(\OCP\Files\File::class);
|
||||
$this->root
|
||||
->method('getUserFolder')
|
||||
->willReturn($this->root);
|
||||
$this->root
|
||||
->method('getById')
|
||||
->willReturn([$node]);
|
||||
|
|
@ -391,6 +394,9 @@ final class AccountServiceTest extends \OCA\Libresign\Tests\Unit\TestCase {
|
|||
->method('getMountsForFileId')
|
||||
->willreturn([]);
|
||||
$node = $this->createMock(\OCP\Files\File::class);
|
||||
$this->root
|
||||
->method('getUserFolder')
|
||||
->willReturn($this->root);
|
||||
$this->root
|
||||
->method('getById')
|
||||
->willReturn([$node]);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue