aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/tests/autoload/autoload_generator_test.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe/tests/autoload/autoload_generator_test.rs')
-rw-r--r--crates/shirabe/tests/autoload/autoload_generator_test.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/crates/shirabe/tests/autoload/autoload_generator_test.rs b/crates/shirabe/tests/autoload/autoload_generator_test.rs
index 9e41e3dd..09ff2101 100644
--- a/crates/shirabe/tests/autoload/autoload_generator_test.rs
+++ b/crates/shirabe/tests/autoload/autoload_generator_test.rs
@@ -64,7 +64,7 @@ impl InstallerInterface for InstallPathStubInstaller {
async fn install(
&self,
- _repo: &mut dyn InstalledRepositoryInterface,
+ _repo: &std::cell::RefCell<&mut dyn InstalledRepositoryInterface>,
_package: PackageInterfaceHandle,
) -> anyhow::Result<Option<PhpMixed>> {
Ok(None)
@@ -72,7 +72,7 @@ impl InstallerInterface for InstallPathStubInstaller {
async fn update(
&self,
- _repo: &mut dyn InstalledRepositoryInterface,
+ _repo: &std::cell::RefCell<&mut dyn InstalledRepositoryInterface>,
_initial: PackageInterfaceHandle,
_target: PackageInterfaceHandle,
) -> anyhow::Result<Option<PhpMixed>> {
@@ -81,7 +81,7 @@ impl InstallerInterface for InstallPathStubInstaller {
async fn uninstall(
&self,
- _repo: &mut dyn InstalledRepositoryInterface,
+ _repo: &std::cell::RefCell<&mut dyn InstalledRepositoryInterface>,
_package: PackageInterfaceHandle,
) -> anyhow::Result<Option<PhpMixed>> {
Ok(None)