mirror of
https://gitlab.dit.htwk-leipzig.de/htwk-software/htwkalender.git
synced 2025-08-03 10:19:14 +02:00
feat:#65 adjusted missing changes backend migration
This commit is contained in:
@@ -20,7 +20,7 @@ import (
|
||||
"reflect"
|
||||
"testing"
|
||||
|
||||
"github.com/pocketbase/pocketbase/models"
|
||||
"github.com/pocketbase/pocketbase/core"
|
||||
"github.com/pocketbase/pocketbase/tools/types"
|
||||
)
|
||||
|
||||
@@ -87,7 +87,7 @@ func TestEventEquals(t *testing.T) {
|
||||
BookedAt string
|
||||
Course string
|
||||
Semester string
|
||||
BaseModel models.BaseModel
|
||||
BaseModel core.BaseModel
|
||||
}
|
||||
type args struct {
|
||||
event Event
|
||||
@@ -164,7 +164,7 @@ func TestEventAnonymizeEvent(t *testing.T) {
|
||||
BookedAt string
|
||||
Course string
|
||||
Semester string
|
||||
BaseModel models.BaseModel
|
||||
BaseModel core.BaseModel
|
||||
}
|
||||
tests := []struct {
|
||||
name string
|
||||
@@ -234,7 +234,7 @@ func TestEventGetName(t *testing.T) {
|
||||
BookedAt string
|
||||
Course string
|
||||
Semester string
|
||||
BaseModel models.BaseModel
|
||||
BaseModel core.BaseModel
|
||||
}
|
||||
tests := []struct {
|
||||
name string
|
||||
@@ -294,7 +294,7 @@ func TestEventSetCourse(t *testing.T) {
|
||||
BookedAt string
|
||||
Course string
|
||||
Semester string
|
||||
BaseModel models.BaseModel
|
||||
BaseModel core.BaseModel
|
||||
}
|
||||
type args struct {
|
||||
course string
|
||||
@@ -354,7 +354,7 @@ func TestEventSetName(t *testing.T) {
|
||||
BookedAt string
|
||||
Course string
|
||||
Semester string
|
||||
BaseModel models.BaseModel
|
||||
BaseModel core.BaseModel
|
||||
}
|
||||
type args struct {
|
||||
name string
|
||||
@@ -414,7 +414,7 @@ func TestEventTableName(t *testing.T) {
|
||||
BookedAt string
|
||||
Course string
|
||||
Semester string
|
||||
BaseModel models.BaseModel
|
||||
BaseModel core.BaseModel
|
||||
}
|
||||
tests := []struct {
|
||||
name string
|
||||
|
@@ -1,7 +1,7 @@
|
||||
package model
|
||||
|
||||
import (
|
||||
"github.com/pocketbase/pocketbase/models"
|
||||
"github.com/pocketbase/pocketbase/core"
|
||||
"github.com/pocketbase/pocketbase/tools/types"
|
||||
"testing"
|
||||
)
|
||||
@@ -10,7 +10,7 @@ func TestFeedSetModules(t *testing.T) {
|
||||
type fields struct {
|
||||
Modules string
|
||||
Retrieved types.DateTime
|
||||
BaseModel models.BaseModel
|
||||
BaseModel core.BaseModel
|
||||
}
|
||||
type args struct {
|
||||
modules string
|
||||
@@ -25,7 +25,7 @@ func TestFeedSetModules(t *testing.T) {
|
||||
fields: fields{
|
||||
Modules: "",
|
||||
Retrieved: types.DateTime{},
|
||||
BaseModel: models.BaseModel{},
|
||||
BaseModel: core.BaseModel{},
|
||||
},
|
||||
args: args{
|
||||
modules: "modules",
|
||||
|
Reference in New Issue
Block a user