aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/tests/common/http_downloader_mock.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe/tests/common/http_downloader_mock.rs')
-rw-r--r--crates/shirabe/tests/common/http_downloader_mock.rs7
1 files changed, 1 insertions, 6 deletions
diff --git a/crates/shirabe/tests/common/http_downloader_mock.rs b/crates/shirabe/tests/common/http_downloader_mock.rs
index 249585c..7a021f9 100644
--- a/crates/shirabe/tests/common/http_downloader_mock.rs
+++ b/crates/shirabe/tests/common/http_downloader_mock.rs
@@ -64,12 +64,7 @@ pub fn get_http_downloader_mock(
) -> (Rc<RefCell<HttpDownloader>>, HttpDownloaderMockGuard) {
let io: Rc<RefCell<dyn IOInterface>> = Rc::new(RefCell::new(NullIO::new()));
let config = Rc::new(RefCell::new(Config::new(false, None)));
- let downloader = Rc::new(RefCell::new(HttpDownloader::new(
- io,
- config,
- IndexMap::new(),
- false,
- )));
+ let downloader = Rc::new(RefCell::new(HttpDownloader::__new_mock(io, config)));
downloader
.borrow_mut()
.__expects(expectations, strict, default_handler);