mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2025-01-29 19:41:35 +01:00
Fixed dagger test compile error
This commit is contained in:
parent
fb8c5f5648
commit
d820bcf804
@ -36,6 +36,7 @@ import dagger.Provides;
|
||||
import org.mockito.Mockito;
|
||||
import utilities.mocks.TestProcessing;
|
||||
|
||||
import javax.inject.Named;
|
||||
import javax.inject.Singleton;
|
||||
|
||||
import static org.mockito.Mockito.when;
|
||||
@ -116,4 +117,11 @@ public class PluginSuperClassBindingModule {
|
||||
return mock;
|
||||
}
|
||||
|
||||
@Provides
|
||||
@Singleton
|
||||
@Named("mainCommandName")
|
||||
String provideMainCommandName() {
|
||||
return "plan";
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user