Skip to content

Commit

Permalink
fix: update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanStepanok committed Dec 11, 2024
1 parent dda621e commit 0116538
Show file tree
Hide file tree
Showing 2 changed files with 62 additions and 44 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,13 @@ final class CourseContainerViewModelTests: XCTestCase {
displayName: "",
topicID: nil,
childs: childs,
media: DataLayer.CourseMedia(image: DataLayer.Image(raw: "",
small: "",
large: "")),
media: CourseMedia(
image: CourseImage(
raw: "",
small: "",
large: ""
)
),
certificate: nil,
org: "",
isSelfPaced: true,
Expand Down Expand Up @@ -169,9 +173,13 @@ final class CourseContainerViewModelTests: XCTestCase {
displayName: "",
topicID: nil,
childs: [],
media: DataLayer.CourseMedia(image: DataLayer.Image(raw: "",
small: "",
large: "")),
media: CourseMedia(
image: CourseImage(
raw: "",
small: "",
large: ""
)
),
certificate: nil,
org: "",
isSelfPaced: true,
Expand Down Expand Up @@ -431,11 +439,13 @@ final class CourseContainerViewModelTests: XCTestCase {
displayName: "",
topicID: nil,
childs: [chapter],
media: DataLayer.CourseMedia(image: DataLayer.Image(
raw: "",
small: "",
large: ""
)),
media: CourseMedia(
image: CourseImage(
raw: "",
small: "",
large: ""
)
),
certificate: nil,
org: "",
isSelfPaced: true,
Expand Down Expand Up @@ -573,11 +583,13 @@ final class CourseContainerViewModelTests: XCTestCase {
displayName: "",
topicID: nil,
childs: [chapter],
media: DataLayer.CourseMedia(image: DataLayer.Image(
raw: "",
small: "",
large: ""
)),
media: CourseMedia(
image: CourseImage(
raw: "",
small: "",
large: ""
)
),
certificate: nil,
org: "",
isSelfPaced: true,
Expand Down Expand Up @@ -698,11 +710,13 @@ final class CourseContainerViewModelTests: XCTestCase {
displayName: "",
topicID: nil,
childs: [chapter],
media: DataLayer.CourseMedia(image: DataLayer.Image(
raw: "",
small: "",
large: ""
)),
media: CourseMedia(
image: CourseImage(
raw: "",
small: "",
large: ""
)
),
certificate: nil,
org: "",
isSelfPaced: true,
Expand Down Expand Up @@ -824,11 +838,13 @@ final class CourseContainerViewModelTests: XCTestCase {
displayName: "",
topicID: nil,
childs: [chapter],
media: DataLayer.CourseMedia(image: DataLayer.Image(
raw: "",
small: "",
large: ""
)),
media: CourseMedia(
image: CourseImage(
raw: "",
small: "",
large: ""
)
),
certificate: nil,
org: "",
isSelfPaced: true,
Expand Down Expand Up @@ -943,11 +959,9 @@ final class CourseContainerViewModelTests: XCTestCase {
displayName: "",
topicID: nil,
childs: [chapter],
media: DataLayer.CourseMedia(image: DataLayer.Image(
raw: "",
small: "",
large: ""
)),
media: CourseMedia(image: CourseImage(raw: "",
small: "",
large: "")),
certificate: nil,
org: "",
isSelfPaced: true,
Expand Down Expand Up @@ -1078,11 +1092,9 @@ final class CourseContainerViewModelTests: XCTestCase {
displayName: "",
topicID: nil,
childs: [chapter],
media: DataLayer.CourseMedia(image: DataLayer.Image(
raw: "",
small: "",
large: ""
)),
media: CourseMedia(image: CourseImage(raw: "",
small: "",
large: "")),
certificate: nil,
org: "",
isSelfPaced: true,
Expand Down Expand Up @@ -1236,11 +1248,13 @@ final class CourseContainerViewModelTests: XCTestCase {
displayName: "",
topicID: nil,
childs: [chapter],
media: DataLayer.CourseMedia(image: DataLayer.Image(
raw: "",
small: "",
large: ""
)),
media: CourseMedia(
image: CourseImage(
raw: "",
small: "",
large: ""
)
),
certificate: nil,
org: "",
isSelfPaced: true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,13 @@ final class CourseDateViewModelTests: XCTestCase {
displayName: "",
topicID: nil,
childs: [],
media: DataLayer.CourseMedia(image: DataLayer.Image(raw: "",
small: "",
large: "")),
media: CourseMedia(
image: CourseImage(
raw: "",
small: "",
large: ""
)
),
certificate: nil,
org: "",
isSelfPaced: true,
Expand Down

0 comments on commit 0116538

Please sign in to comment.