Make TestOffchainExt panic on unknown requests (#3710)

* Make `TestOffchainExt` panic on unknown requests

* Fix test
This commit is contained in:
Bastian Köcher
2019-09-26 23:02:30 +02:00
committed by GitHub
parent 0da34de380
commit ba98168b71
2 changed files with 16 additions and 8 deletions
+1 -1
View File
@@ -1842,7 +1842,7 @@ mod tests {
body: vec![1, 2, 3, 4],
headers: vec![("X-Auth".to_owned(), "test".to_owned())],
sent: true,
response: vec![1, 2, 3],
response: Some(vec![1, 2, 3]),
response_headers: vec![("X-Auth".to_owned(), "hello".to_owned())],
..Default::default()
},