Expose etag through JSON responses for child elements

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2020-11-10 17:15:05 +01:00
parent 6a8e607134
commit a46d31caf2
10 changed files with 35 additions and 9 deletions

View File

@@ -32,6 +32,7 @@ class BoardTest extends TestCase {
'archived' => false,
'users' => ['user1', 'user2'],
'settings' => [],
'ETag' => $board->getETag(),
], $board->jsonSerialize());
}
@@ -52,6 +53,7 @@ class BoardTest extends TestCase {
'archived' => false,
'users' => [],
'settings' => [],
'ETag' => $board->getETag(),
], $board->jsonSerialize());
}
public function testSetAcl() {
@@ -80,6 +82,7 @@ class BoardTest extends TestCase {
'shared' => 1,
'users' => [],
'settings' => [],
'ETag' => $board->getETag(),
], $board->jsonSerialize());
}
}