From e3936649745a627fa2c31fc7b8602793b7d6027b Mon Sep 17 00:00:00 2001 From: Lorenz Diener Date: Sat, 27 Apr 2019 21:04:06 +0200 Subject: Test fixups and small 2.8 fixes Pagination backwards is broken presently. --- tests/cassettes/test_push_set.yaml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'tests/cassettes/test_push_set.yaml') diff --git a/tests/cassettes/test_push_set.yaml b/tests/cassettes/test_push_set.yaml index 8915b84..2745be3 100644 --- a/tests/cassettes/test_push_set.yaml +++ b/tests/cassettes/test_push_set.yaml @@ -1,22 +1,22 @@ interactions: - request: - body: subscription%5Bendpoint%5D=https%3A%2F%2Fexample.com&subscription%5Bkeys%5D%5Bp256dh%5D=BLdR63oM75HukNQB3N1M2AbdFFAHWA4chrgP4rmLYKcwaNm3H88Fm3bpg%2BS2GvHezWWK7WSunnCW3LWDuQVFFTQ%3D&subscription%5Bkeys%5D%5Bauth%5D=tIutL3F6pKzylc7ikS09ww%3D%3D + body: subscription%5Bendpoint%5D=https%3A%2F%2Fexample.com&subscription%5Bkeys%5D%5Bp256dh%5D=BAsxK2FBgEOKFAhSnisWyHPeinU2nUJ7SqhZ8%2B03yZOpkSC9YuNT58%2B%2BHX7uMnQ6%2BOJPXKbYAKTveYjgSyntAMk%3D&subscription%5Bkeys%5D%5Bauth%5D=Ks75Jd05g1aHqG7mCDdZ%2BQ%3D%3D headers: Accept: ['*/*'] Accept-Encoding: ['gzip, deflate'] Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] Connection: [keep-alive] - Content-Length: ['242'] + Content-Length: ['250'] Content-Type: [application/x-www-form-urlencoded] User-Agent: [python-requests/2.18.4] method: POST uri: http://localhost:3000/api/v1/push/subscription response: - body: {string: '{"id":7,"endpoint":"https://example.com","alerts":{},"server_key":"BFUzywftzA81kLihlpi_bTniTwxuGp_D2gX9CHRq4qJQJgsKQUFyc8juKZ-fHMR6YxnA1A1qhgVvMTChH21CMhY="}'} + body: {string: '{"id":7,"endpoint":"https://example.com","alerts":{},"server_key":"BP3YHleCxMqxCT6NGjNfl8rRj9BVI9ZGr3xLNzK53Uf0AcMo2VUFgAtdwQBfGofTb48sImPX-LRHTZgmZACu8A0="}'} headers: Cache-Control: ['max-age=0, private, must-revalidate'] Content-Type: [application/json; charset=utf-8] - ETag: [W/"848533b1ff5d11d2a46f1048177d9cb1"] + ETag: [W/"30a0afc7d55cb1d4863b67d20c8b93d6"] Referrer-Policy: [strict-origin-when-cross-origin] Transfer-Encoding: [chunked] Vary: ['Accept-Encoding, Origin'] @@ -24,8 +24,8 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [53cd0aa6-7c00-4a85-aedc-11eba6936891] - X-Runtime: ['0.049083'] + X-Request-Id: [a239b437-9f21-41b2-88e7-2d43de580991] + X-Runtime: ['0.067181'] X-XSS-Protection: [1; mode=block] content-length: ['157'] status: {code: 200, message: OK} @@ -40,11 +40,11 @@ interactions: method: GET uri: http://localhost:3000/api/v1/push/subscription response: - body: {string: '{"id":7,"endpoint":"https://example.com","alerts":{},"server_key":"BFUzywftzA81kLihlpi_bTniTwxuGp_D2gX9CHRq4qJQJgsKQUFyc8juKZ-fHMR6YxnA1A1qhgVvMTChH21CMhY="}'} + body: {string: '{"id":7,"endpoint":"https://example.com","alerts":{},"server_key":"BP3YHleCxMqxCT6NGjNfl8rRj9BVI9ZGr3xLNzK53Uf0AcMo2VUFgAtdwQBfGofTb48sImPX-LRHTZgmZACu8A0="}'} headers: Cache-Control: ['max-age=0, private, must-revalidate'] Content-Type: [application/json; charset=utf-8] - ETag: [W/"848533b1ff5d11d2a46f1048177d9cb1"] + ETag: [W/"30a0afc7d55cb1d4863b67d20c8b93d6"] Referrer-Policy: [strict-origin-when-cross-origin] Transfer-Encoding: [chunked] Vary: ['Accept-Encoding, Origin'] @@ -52,8 +52,8 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [00c21404-c626-4ecd-8071-f88804555dd8] - X-Runtime: ['0.024180'] + X-Request-Id: [e0a552f1-4ff9-4ab3-b1f5-c5e226965714] + X-Runtime: ['0.015818'] X-XSS-Protection: [1; mode=block] content-length: ['157'] status: {code: 200, message: OK} -- cgit v1.2.3