Skip to content

Commit

Permalink
chore: fix failed test
Browse files Browse the repository at this point in the history
chore: change to macos-15 on github actions
  • Loading branch information
sboh1214 committed Jan 9, 2025
1 parent ad503b3 commit e67e5a0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:

build-ios:
name: Build iOS
runs-on: macos-14
runs-on: macos-15
steps:
- uses: actions/checkout@v4
- name: Select Xcode version
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:

integration-ios:
name: Integration Test on iOS
runs-on: macos-14
runs-on: macos-15
steps:
- uses: actions/checkout@v4
- name: Select Xcode version
Expand Down
3 changes: 2 additions & 1 deletion test/models/lecture_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,8 @@ void main() {
final lectures = json.decode(response.body);
print(url);
// 2024년 가을학기부터 HSE 강의 없음
assert(lectures.isEmpty);
// 2025년 1월 10일 기준 있음
assert(!lectures.isEmpty);
for (Map<String, dynamic> l in lectures) {
final Lecture lecture = Lecture.fromJson(l);
expect(lecture.typeIdx, 4);
Expand Down

0 comments on commit e67e5a0

Please sign in to comment.