mirror of
https://gitlab.dit.htwk-leipzig.de/htwk-software/htwkalender.git
synced 2025-08-09 13:17:46 +02:00
feat:#65 adjusted missing changes backend migration
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
package model
|
||||
|
||||
import (
|
||||
"github.com/pocketbase/pocketbase/models"
|
||||
"github.com/pocketbase/pocketbase/core"
|
||||
"reflect"
|
||||
"testing"
|
||||
"time"
|
||||
@@ -90,7 +90,7 @@ func TestEvent_Equals(t *testing.T) {
|
||||
BookedAt string
|
||||
Course string
|
||||
Semester string
|
||||
BaseModel models.BaseModel
|
||||
BaseModel core.BaseModel
|
||||
}
|
||||
type args struct {
|
||||
event Event
|
||||
@@ -167,7 +167,7 @@ func TestEvent_AnonymizeEvent(t *testing.T) {
|
||||
BookedAt string
|
||||
Course string
|
||||
Semester string
|
||||
BaseModel models.BaseModel
|
||||
BaseModel core.BaseModel
|
||||
}
|
||||
tests := []struct {
|
||||
name string
|
||||
@@ -237,7 +237,7 @@ func TestEvent_GetName(t *testing.T) {
|
||||
BookedAt string
|
||||
Course string
|
||||
Semester string
|
||||
BaseModel models.BaseModel
|
||||
BaseModel core.BaseModel
|
||||
}
|
||||
tests := []struct {
|
||||
name string
|
||||
@@ -297,7 +297,7 @@ func TestEvent_SetCourse(t *testing.T) {
|
||||
BookedAt string
|
||||
Course string
|
||||
Semester string
|
||||
BaseModel models.BaseModel
|
||||
BaseModel core.BaseModel
|
||||
}
|
||||
type args struct {
|
||||
course string
|
||||
@@ -357,7 +357,7 @@ func TestEvent_SetName(t *testing.T) {
|
||||
BookedAt string
|
||||
Course string
|
||||
Semester string
|
||||
BaseModel models.BaseModel
|
||||
BaseModel core.BaseModel
|
||||
}
|
||||
type args struct {
|
||||
name string
|
||||
@@ -417,7 +417,7 @@ func TestEvent_TableName(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