mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05:00
Fixed the members e2e test
no issue - Added a missing `'content-length': anyString` as it's not returning a stable value - Removed snapshots that aren't relevant anymore
This commit is contained in:
parent
b10ea7c714
commit
d4d6842bcc
2 changed files with 3 additions and 2086 deletions
File diff suppressed because it is too large
Load diff
|
@ -178,7 +178,8 @@ describe('Members API', function () {
|
||||||
.get('members/?order=email_open_rate%20asc')
|
.get('members/?order=email_open_rate%20asc')
|
||||||
.expectStatus(200)
|
.expectStatus(200)
|
||||||
.matchHeaderSnapshot({
|
.matchHeaderSnapshot({
|
||||||
etag: anyEtag
|
etag: anyEtag,
|
||||||
|
'content-length': anyString
|
||||||
})
|
})
|
||||||
.matchBodySnapshot({
|
.matchBodySnapshot({
|
||||||
members: new Array(8).fill(memberMatcherShallowIncludes)
|
members: new Array(8).fill(memberMatcherShallowIncludes)
|
||||||
|
|
Loading…
Add table
Reference in a new issue