зеркало из https://github.com/nextcloud/deck.git
fix: Skip individual board caches when listing all boards
Signed-off-by: Julius Knorr <jus@bitgrid.net>
This commit is contained in:
Родитель
75be929077
Коммит
047fcb6584
|
@ -112,6 +112,10 @@ jobs:
|
|||
working-directory: apps/${{ env.APP_NAME }}/tests/integration
|
||||
run: ./run.sh
|
||||
|
||||
- name: Print log
|
||||
if: always()
|
||||
run: cat data/nextcloud.log
|
||||
|
||||
- name: Query count
|
||||
if: ${{ matrix.databases == 'mysql' }}
|
||||
uses: actions/github-script@v7
|
||||
|
|
|
@ -108,10 +108,11 @@ describe('Card', function () {
|
|||
cy.get('.card:contains("Example Domain")')
|
||||
.should('be.visible')
|
||||
.click()
|
||||
|
||||
cy.get('#app-sidebar-vue')
|
||||
.find('h2').contains('Example Domain').should('be.visible')
|
||||
})
|
||||
|
||||
cy.get('.app-sidebar-header', { timeout: 10000 })
|
||||
.should('be.visible')
|
||||
.find('h2').contains('Example Domain').should('be.visible')
|
||||
})
|
||||
|
||||
describe('Modal', () => {
|
||||
|
|
|
@ -95,14 +95,6 @@ class BoardService {
|
|||
* @return Board[]
|
||||
*/
|
||||
public function findAll(int $since = -1, bool $fullDetails = false, bool $includeArchived = true): array {
|
||||
if ($this->boardsCacheFull && $fullDetails) {
|
||||
return $this->boardsCacheFull;
|
||||
}
|
||||
|
||||
if ($this->boardsCachePartial && !$fullDetails) {
|
||||
return $this->boardsCachePartial;
|
||||
}
|
||||
|
||||
$complete = $this->getUserBoards($since, $includeArchived);
|
||||
return $this->enrichBoards($complete, $fullDetails);
|
||||
}
|
||||
|
|
|
@ -1 +1 @@
|
|||
70520
|
||||
71221
|
||||
|
|
|
@ -172,7 +172,7 @@ class RequestContext implements Context {
|
|||
*/
|
||||
public function theResponseShouldBeAListOfObjects() {
|
||||
$jsonResponse = $this->getResponseBodyFromJson();
|
||||
Assert::assertEquals(array_keys($jsonResponse), range(0, count($jsonResponse) - 1));
|
||||
Assert::assertEquals(range(0, count($jsonResponse) - 1), array_keys($jsonResponse));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Загрузка…
Ссылка в новой задаче