mirror of
https://git.rwth-aachen.de/acs/public/villas/web-backend-go/
synced 2025-03-30 00:00:12 +01:00
fix bug in database test
This commit is contained in:
parent
44851fd18d
commit
6039eab450
1 changed files with 1 additions and 2 deletions
|
@ -113,8 +113,7 @@ func TestDummyDBAssociations(t *testing.T) {
|
||||||
"Expected to have %v Files. Has %v.", 2, len(files_sm))
|
"Expected to have %v Files. Has %v.", 2, len(files_sm))
|
||||||
}
|
}
|
||||||
|
|
||||||
simulatorID, _ := db.Model(&mo).Get("SimulatorID")
|
fmt.Println("SimulatorID: ", mo.SimulatorID)
|
||||||
fmt.Println("SimulatorID: ", simulatorID.(uint))
|
|
||||||
|
|
||||||
// Visualization
|
// Visualization
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue