fix test
This commit is contained in:
parent
084907dfc4
commit
199f108905
@ -50,7 +50,7 @@ import org.thingsboard.server.common.msg.session.*;
|
||||
import org.thingsboard.server.common.transport.SessionMsgProcessor;
|
||||
import org.thingsboard.server.common.transport.auth.DeviceAuthResult;
|
||||
import org.thingsboard.server.common.transport.auth.DeviceAuthService;
|
||||
import org.thingsboard.server.common.transport.quota.QuotaService;
|
||||
import org.thingsboard.server.common.transport.quota.host.HostRequestsQuotaService;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
@ -134,8 +134,8 @@ public class CoapServerTest {
|
||||
}
|
||||
|
||||
@Bean
|
||||
public static QuotaService quotaService() {
|
||||
return key -> false;
|
||||
public static HostRequestsQuotaService quotaService() {
|
||||
return new HostRequestsQuotaService(null, null, null, null, false);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user