Format code, fix lint errors
This commit is contained in:
parent
794c18fb41
commit
507c1a63f7
|
|
@ -1,8 +1,6 @@
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { calculateCircleSectorData } from "@/pages/learningPath/learningPathPage/utils";
|
|
||||||
import { useCourseDataWithCompletion } from "@/composables";
|
import { useCourseDataWithCompletion } from "@/composables";
|
||||||
import UserProfileContent from "@/components/userProfile/UserProfileContent.vue";
|
import UserProfileContent from "@/components/userProfile/UserProfileContent.vue";
|
||||||
import LearningPathCircle from "@/pages/learningPath/learningPathPage/LearningPathCircle.vue";
|
|
||||||
import LearningSequence from "@/pages/learningPath/circlePage/LearningSequence.vue";
|
import LearningSequence from "@/pages/learningPath/circlePage/LearningSequence.vue";
|
||||||
import { computed, ref, watch } from "vue";
|
import { computed, ref, watch } from "vue";
|
||||||
import type { CircleType } from "@/types";
|
import type { CircleType } from "@/types";
|
||||||
|
|
|
||||||
|
|
@ -61,7 +61,7 @@ describe("Onboarding", () => {
|
||||||
mockNext
|
mockNext
|
||||||
);
|
);
|
||||||
expect(mockNext).toHaveBeenCalledWith({
|
expect(mockNext).toHaveBeenCalledWith({
|
||||||
name: "checkoutAddress",
|
name: "accountCourseProfile",
|
||||||
params: { courseType: testCase },
|
params: { courseType: testCase },
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@ import random
|
||||||
from datetime import datetime, timedelta
|
from datetime import datetime, timedelta
|
||||||
|
|
||||||
import djclick as click
|
import djclick as click
|
||||||
from dateutil.relativedelta import MO, TH, TU, relativedelta
|
from dateutil.relativedelta import MO, relativedelta, TH, TU
|
||||||
from django.utils import timezone
|
from django.utils import timezone
|
||||||
|
|
||||||
from vbv_lernwelt.assignment.creators.create_assignments import (
|
from vbv_lernwelt.assignment.creators.create_assignments import (
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
# Generated by Django 4.2.13 on 2024-07-22 19:45
|
# Generated by Django 4.2.13 on 2024-07-22 19:45
|
||||||
|
|
||||||
from django.db import migrations, models
|
from django.db import migrations, models
|
||||||
|
|
||||||
import vbv_lernwelt.course.models
|
import vbv_lernwelt.course.models
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,15 +4,14 @@ from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration):
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
dependencies = [
|
dependencies = [
|
||||||
('learnpath', '0018_auto_20240711_1527'),
|
("learnpath", "0018_auto_20240711_1527"),
|
||||||
]
|
]
|
||||||
|
|
||||||
operations = [
|
operations = [
|
||||||
migrations.AddField(
|
migrations.AddField(
|
||||||
model_name='circle',
|
model_name="circle",
|
||||||
name='is_base_circle',
|
name="is_base_circle",
|
||||||
field=models.BooleanField(default=False),
|
field=models.BooleanField(default=False),
|
||||||
),
|
),
|
||||||
]
|
]
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
# Generated by Django 4.2.13 on 2024-07-22 19:45
|
# Generated by Django 4.2.13 on 2024-07-22 19:45
|
||||||
|
|
||||||
from django.db import migrations
|
|
||||||
import wagtail.images.models
|
import wagtail.images.models
|
||||||
|
from django.db import migrations
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration):
|
class Migration(migrations.Migration):
|
||||||
|
|
|
||||||
|
|
@ -4,15 +4,14 @@ from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration):
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
dependencies = [
|
dependencies = [
|
||||||
('shop', '0015_cembra_fields'),
|
("shop", "0015_cembra_fields"),
|
||||||
]
|
]
|
||||||
|
|
||||||
operations = [
|
operations = [
|
||||||
migrations.AlterField(
|
migrations.AlterField(
|
||||||
model_name='checkoutinformation',
|
model_name="checkoutinformation",
|
||||||
name='refno2',
|
name="refno2",
|
||||||
field=models.CharField(max_length=255),
|
field=models.CharField(max_length=255),
|
||||||
),
|
),
|
||||||
]
|
]
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
# Generated by Django 4.2.13 on 2024-07-22 19:45
|
# Generated by Django 4.2.13 on 2024-07-22 19:45
|
||||||
|
|
||||||
from django.db import migrations, models
|
|
||||||
import django.db.models.deletion
|
import django.db.models.deletion
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration):
|
class Migration(migrations.Migration):
|
||||||
|
|
|
||||||
|
|
@ -19,11 +19,11 @@ from vbv_lernwelt.shop.const import (
|
||||||
)
|
)
|
||||||
from vbv_lernwelt.shop.models import CheckoutInformation, CheckoutState, Product
|
from vbv_lernwelt.shop.models import CheckoutInformation, CheckoutState, Product
|
||||||
from vbv_lernwelt.shop.services import (
|
from vbv_lernwelt.shop.services import (
|
||||||
InitTransactionException,
|
|
||||||
create_context_data_log,
|
create_context_data_log,
|
||||||
datatrans_state_to_checkout_state,
|
datatrans_state_to_checkout_state,
|
||||||
get_payment_url,
|
get_payment_url,
|
||||||
init_datatrans_transaction,
|
init_datatrans_transaction,
|
||||||
|
InitTransactionException,
|
||||||
is_signature_valid,
|
is_signature_valid,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue