Remove withBackendType(String), to encourage usage instead of with/set method that takes the module class, so the module will be init'ed and registered

This commit is contained in:
2024-04-10 09:05:43 -05:00
parent 1eae1d6dc4
commit 731d1e266a
9 changed files with 19 additions and 34 deletions

View File

@ -29,6 +29,7 @@ import com.kingsrook.qqq.backend.core.model.metadata.authentication.QAuthenticat
import com.kingsrook.qqq.backend.core.model.metadata.fields.QFieldMetaData;
import com.kingsrook.qqq.backend.core.model.metadata.fields.QFieldType;
import com.kingsrook.qqq.backend.core.model.metadata.tables.QTableMetaData;
import com.kingsrook.qqq.backend.core.modules.backend.implementations.memory.MemoryBackendModule;
/*******************************************************************************
@ -74,7 +75,7 @@ public class TestUtils
{
return (new QBackendMetaData()
.withName(DEFAULT_BACKEND_NAME)
.withBackendType("memory"));
.withBackendType(MemoryBackendModule.class));
}