mirror of
https://gitlab.dit.htwk-leipzig.de/htwk-software/htwkalender.git
synced 2025-08-06 11:49: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
|
||||
|
Reference in New Issue
Block a user