mirror of
https://git.rwth-aachen.de/acs/public/villas/web-backend-go/
synced 2025-03-30 00:00:12 +01:00
fix in simulator test
This commit is contained in:
parent
b378e8b7c1
commit
cf739c6ae5
1 changed files with 3 additions and 3 deletions
|
@ -31,7 +31,7 @@ var model_A = common.SimulationModelResponse{
|
||||||
Name: "SimulationModel_A",
|
Name: "SimulationModel_A",
|
||||||
OutputLength: 1,
|
OutputLength: 1,
|
||||||
InputLength: 1,
|
InputLength: 1,
|
||||||
SimulationID: 1,
|
ScenarioID: 1,
|
||||||
SimulatorID: 1,
|
SimulatorID: 1,
|
||||||
StartParams: "",
|
StartParams: "",
|
||||||
}
|
}
|
||||||
|
@ -41,7 +41,7 @@ var model_B = common.SimulationModelResponse{
|
||||||
Name: "SimulationModel_B",
|
Name: "SimulationModel_B",
|
||||||
OutputLength: 1,
|
OutputLength: 1,
|
||||||
InputLength: 1,
|
InputLength: 1,
|
||||||
SimulationID: 1,
|
ScenarioID: 1,
|
||||||
SimulatorID: 1,
|
SimulatorID: 1,
|
||||||
StartParams: "",
|
StartParams: "",
|
||||||
}
|
}
|
||||||
|
@ -144,7 +144,7 @@ var msgSimulatorUpdated = common.ResponseMsgSimulator{
|
||||||
Simulator: simulatorCupdated_response,
|
Simulator: simulatorCupdated_response,
|
||||||
}
|
}
|
||||||
|
|
||||||
// Test /simulation endpoints
|
// Test /simulator endpoints
|
||||||
func TestSimulatorEndpoints(t *testing.T) {
|
func TestSimulatorEndpoints(t *testing.T) {
|
||||||
|
|
||||||
db := common.DummyInitDB()
|
db := common.DummyInitDB()
|
||||||
|
|
Loading…
Add table
Reference in a new issue