Skip to content

Commit

Permalink
Merge branch 'main' of github.com:hpi-schul-cloud/schulcloud-server i…
Browse files Browse the repository at this point in the history
…nto BC-6854-basic-load-tests
  • Loading branch information
hoeppner-dataport committed Jul 9, 2024
2 parents 02f5c47 + 8389184 commit ffe7077
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 15 deletions.
30 changes: 30 additions & 0 deletions backup/setup/classes.json
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,36 @@
"$date": "2023-07-31T10:01:29.382Z"
},
"__v": 0
},
{
"_id": {
"$oid": "668c0a7b46c42b79f6034ff0"
},
"userIds": [
{
"$oid": "5fa2cccab229544f2c696917"
}
],
"teacherIds": [
{
"$oid": "5fa2c71bb229544f2c6966d9"
}
],
"schoolId": {
"$oid": "5fa2c5ccb229544f2c69666c"
},
"name": "b",
"gradeLevel": 9,
"year": {
"$oid": "5ebd6dc14a431f75ec9a3e7a"
},
"createdAt": {
"$date": "2024-07-08T10:00:26.985Z"
},
"updatedAt": {
"$date": "2024-07-08T10:01:29.382Z"
},
"__v": 0
},
{
"_id": {
Expand Down
22 changes: 11 additions & 11 deletions backup/setup/schools.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"__v": 0,
"fileStorageType": "awsS3",
"currentYear": {
"$oid": "5ebd6dc14a431f75ec9a3e79"
"$oid": "5ebd6dc14a431f75ec9a3e7a"
},
"purpose": "demo",
"permissions": {
Expand Down Expand Up @@ -53,7 +53,7 @@
},
"__v": 0,
"currentYear": {
"$oid": "5ebd6dc14a431f75ec9a3e79"
"$oid": "5ebd6dc14a431f75ec9a3e7a"
},
"purpose": "demo",
"permissions": {
Expand Down Expand Up @@ -89,7 +89,7 @@
},
"__v": 0,
"currentYear": {
"$oid": "5ebd6dc14a431f75ec9a3e79"
"$oid": "5ebd6dc14a431f75ec9a3e7a"
},
"purpose": "demo",
"features": [
Expand Down Expand Up @@ -131,7 +131,7 @@
"__v": 0,
"fileStorageType": "awsS3",
"currentYear": {
"$oid": "5ebd6dc14a431f75ec9a3e79"
"$oid": "5ebd6dc14a431f75ec9a3e7a"
},
"purpose": "expert",
"features" : [
Expand Down Expand Up @@ -167,7 +167,7 @@
},
"fileStorageType": "awsS3",
"currentYear": {
"$oid": "5ebd6dc14a431f75ec9a3e79"
"$oid": "5ebd6dc14a431f75ec9a3e7a"
},
"createdAt": {
"$date": "2020-11-04T15:16:28.827Z"
Expand Down Expand Up @@ -216,7 +216,7 @@
},
"fileStorageType": "awsS3",
"currentYear": {
"$oid": "5ebd6dc14a431f75ec9a3e79"
"$oid": "5ebd6dc14a431f75ec9a3e7a"
},
"createdAt": {
"$date": "2020-11-04T21:11:14.312Z"
Expand Down Expand Up @@ -258,7 +258,7 @@
"fileStorageType": "awsS3",
"timezone": "America/Belem",
"currentYear": {
"$oid": "5ebd6dc14a431f75ec9a3e79"
"$oid": "5ebd6dc14a431f75ec9a3e7a"
},
"createdAt": {
"$date": "2020-11-04T21:38:05.110Z"
Expand Down Expand Up @@ -303,7 +303,7 @@
},
"fileStorageType": "awsS3",
"currentYear": {
"$oid": "5ebd6dc14a431f75ec9a3e79"
"$oid": "5ebd6dc14a431f75ec9a3e7a"
},
"createdAt": {
"$date": "2020-12-08T16:58:36.527Z"
Expand Down Expand Up @@ -370,7 +370,7 @@
},
"__v": 0,
"currentYear": {
"$oid": "5ebd6dc14a431f75ec9a3e79"
"$oid": "5ebd6dc14a431f75ec9a3e7a"
},
"purpose": "demo",
"features": [
Expand Down Expand Up @@ -412,7 +412,7 @@
},
"__v": 0,
"currentYear": {
"$oid": "5ebd6dc14a431f75ec9a3e79"
"$oid": "5ebd6dc14a431f75ec9a3e7a"
},
"purpose": "demo",
"features": [
Expand Down Expand Up @@ -454,7 +454,7 @@
},
"__v": 0,
"currentYear": {
"$oid": "5ebd6dc14a431f75ec9a3e79"
"$oid": "5ebd6dc14a431f75ec9a3e7a"
},
"purpose": "demo",
"features": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,10 @@ describe('Ldap Syncer Consumer Integration', () => {
it('should create school by the data', async () => {
const schoolName = 'test school';
const currentYear = {
_id: '5ebd6dc14a431f75ec9a3e77',
name: '2023/24',
startDate: '2023-08-01T00:00:00.000Z',
endDate: '2024-07-31T00:00:00.000Z',
_id: '5ebd6dc14a431f75ec9a3e7a',
name: '2024/25',
startDate: '2024-08-01T00:00:00.000Z',
endDate: '2025-07-31T00:00:00.000Z',
};
const states = await app.service('federalStates').find({ query: { abbreviation: 'NI' } });
const federalStateId = states.data[0]._id;
Expand Down

0 comments on commit ffe7077

Please sign in to comment.