diff options
author | Yigit Sever | 2021-04-16 05:47:08 +0300 |
---|---|---|
committer | Yigit Sever | 2021-04-16 05:47:08 +0300 |
commit | 75ec270230cb361293d62f79710ccae4dd39bb01 (patch) | |
tree | f5e203a8faedd1952b638df680e41fa1e707f628 /tests/route_tests.rs | |
parent | b36f22722b230a5944989c79923cb315e396261c (diff) | |
download | gradecoin-75ec270230cb361293d62f79710ccae4dd39bb01.tar.gz gradecoin-75ec270230cb361293d62f79710ccae4dd39bb01.tar.bz2 gradecoin-75ec270230cb361293d62f79710ccae4dd39bb01.zip |
Almost passsing auth
Diffstat (limited to 'tests/route_tests.rs')
-rw-r--r-- | tests/route_tests.rs | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/tests/route_tests.rs b/tests/route_tests.rs index 0b7628c..537b3d8 100644 --- a/tests/route_tests.rs +++ b/tests/route_tests.rs | |||
@@ -266,8 +266,6 @@ FQIDAQAB | |||
266 | let db = mocked_db(); | 266 | let db = mocked_db(); |
267 | let filter = consensus_routes(db.clone()); | 267 | let filter = consensus_routes(db.clone()); |
268 | 268 | ||
269 | |||
270 | |||
271 | let res = warp::test::request() | 269 | let res = warp::test::request() |
272 | .method("POST") | 270 | .method("POST") |
273 | .json(&Block { | 271 | .json(&Block { |
@@ -447,9 +445,9 @@ FQIDAQAB | |||
447 | let res = warp::test::request() | 445 | let res = warp::test::request() |
448 | .method("POST") | 446 | .method("POST") |
449 | .json(&InitialAuthRequest { | 447 | .json(&InitialAuthRequest { |
450 | c: "llqkPAX8oGxBLFHGMNzwrCAP2WmsGZlOcm3mCp7+ZnX9p7BPffRvGcYHpif4htwU5RyR3fLo/VWERXqddVQkxhfuum0dFn1cpPfYTokc2BHpi61i4SXCaCHlJDxCtCKnujfEzMnS5hAKMQSyrwq/DPBwOSQ/XQeeMB0YF+l+ZfVJ8e6sQ5FfSK9rSInv+TokA7az6vR7Ky5fGjQ0GxKkO+SKLd5eHuGKgQ19JUQrj3k19GJn1h1cmWW1PYqVKFDp/Rf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UnW+UuEQXvYYfVNkSPJ+dsOGHwi1LyAql3H36jX4dtESGZSINUjeiYxR8fwZdnge1Eo+sOGT3cQ+wCL9".to_owned(), |
451 | iv: "RbZzPxu1IL+f+PZ/SJzi/Q==".to_owned(), | 449 | iv: "bmV2ZXJtaW5kdGhlbmZ1aw==".to_owned(), |
452 | key: "baz".to_owned(), | 450 | key: "s4cn9BSmuForX6PxJAa55Es4t2puXuDtdII1lxEArqVlP+uYd5jDKofFtn9PCAoY7jyTgBIhQW7Ah5MGCcufWTaKHAjFVfSZ+qGwbGbBcklbNGH/F7cJ0Pe7kOCddUpIvLG6WH6+mnvyPs8PwDyagsx1Jc2PSSOYLAwkECvPbjiUjQiBixguTRNsU2eKaqzLimPE0w2ztvdA+IgCv94UPhjQfQrnMGK+Ppn3oK7IfKQJ7v2DLVNuz4d/BpwuqD+lYYAu4B4qn3daNR32a/mqAAlPg/RbPlH69N44Qh/NYux90FOY0XKxUskEwsAUw8dHFzzdKPcGx4C0s5e4KSLGkw==".to_owned(), |
453 | }) | 451 | }) |
454 | .path("/register") | 452 | .path("/register") |
455 | .reply(&filter) | 453 | .reply(&filter) |