Expose etag through JSON responses for child elements
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
@@ -42,7 +42,8 @@ class LabelTest extends TestCase {
|
||||
'boardId' => 123,
|
||||
'cardId' => null,
|
||||
'lastModified' => null,
|
||||
'color' => '000000'
|
||||
'color' => '000000',
|
||||
'ETag' => $label->getETag(),
|
||||
], $label->jsonSerialize());
|
||||
}
|
||||
public function testJsonSerializeCard() {
|
||||
@@ -54,7 +55,8 @@ class LabelTest extends TestCase {
|
||||
'boardId' => null,
|
||||
'cardId' => 123,
|
||||
'lastModified' => null,
|
||||
'color' => '000000'
|
||||
'color' => '000000',
|
||||
'ETag' => $label->getETag(),
|
||||
], $label->jsonSerialize());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user