Browse Source

Merge pull request #118 from comit-network/fix-failling-test

Allow for presence/non-presence of index page
fix-bad-api-calls
Philipp Hoenisch 3 years ago
committed by GitHub
parent
commit
d33a05c578
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      daemon/src/routes_maker.rs

5
daemon/src/routes_maker.rs

@ -207,8 +207,9 @@ mod tests {
assert_eq!(feed_response.status(), Status::Ok);
assert_eq!(new_sell_order_response.status(), Status::Accepted);
assert_eq!(index_response.status(), Status::NotFound); // we don't embed the files in the
// tests
assert!(
index_response.status() == Status::NotFound || index_response.status() == Status::Ok
);
}
/// Constructs a Rocket instance for testing.

Loading…
Cancel
Save