Skip to content

Commit

Permalink
Fix status
Browse files Browse the repository at this point in the history
  • Loading branch information
Udito3 committed Mar 19, 2024
1 parent 5e02a3d commit e03ba95
Show file tree
Hide file tree
Showing 10 changed files with 18 additions and 20 deletions.
8 changes: 3 additions & 5 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -284,11 +284,9 @@ packages:
ets_api_clients:
dependency: "direct main"
description:
path: "."
ref: "1.1.2"
resolved-ref: "1f7906d5d2c69c8c0d3dadc223a45317038e1902"
url: "https://github.com/ApplETS/ETS-API-Clients.git"
source: git
path: "../ETS-API-Clients"
relative: true
source: path
version: "1.1.2"
fading_edge_scrollview:
dependency: transitive
Expand Down
8 changes: 4 additions & 4 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@ dependencies:
# Customs
# TODO: Change to the latest version, once reviewed and accepted
ets_api_clients:
# path: ../ETS-API-Clients/
git:
url: https://github.com/ApplETS/ETS-API-Clients.git
ref: 1.1.2
path: ../ETS-API-Clients/
# git:
# url: https://github.com/ApplETS/ETS-API-Clients.git
# ref: 1.1.2

# Other
flutter_cache_manager: ^3.0.1
Expand Down
2 changes: 1 addition & 1 deletion test/ui/views/author_view_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ void main() {
title: 'Mock News 1',
content:
'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec tempus arcu sed quam tincidunt, non venenatis orci mollis. 1',
state: 1,
state: "1",
publicationDate: DateTime.now().subtract(const Duration(days: 5)),
eventStartDate: DateTime.now().add(const Duration(days: 2)),
eventEndDate: DateTime.now().add(const Duration(days: 2, hours: 2)),
Expand Down
6 changes: 3 additions & 3 deletions test/ui/views/ets_view_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ void main() {
title: 'Mock News 1',
content:
'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec tempus arcu sed quam tincidunt, non venenatis orci mollis. 1',
state: 1,
state: "1",
publicationDate: DateTime.now().subtract(const Duration(days: 5)),
eventStartDate: DateTime.now().add(const Duration(days: 2)),
eventEndDate: DateTime.now().add(const Duration(days: 2, hours: 2)),
Expand Down Expand Up @@ -59,7 +59,7 @@ void main() {
title: 'Mock News 2',
content:
'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec tempus arcu sed quam tincidunt, non venenatis orci mollis. 2',
state: 1,
state: "1",
publicationDate: DateTime.now().subtract(const Duration(days: 5)),
eventStartDate: DateTime.now().add(const Duration(days: 2)),
eventEndDate: DateTime.now().add(const Duration(days: 2, hours: 2)),
Expand Down Expand Up @@ -91,7 +91,7 @@ void main() {
title: 'Mock News 3',
content:
'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec tempus arcu sed quam tincidunt, non venenatis orci mollis. 3',
state: 1,
state: "1",
publicationDate: DateTime.now().subtract(const Duration(days: 5)),
eventStartDate: DateTime.now().add(const Duration(days: 2)),
eventEndDate: DateTime.now().add(const Duration(days: 2, hours: 2)),
Expand Down
2 changes: 1 addition & 1 deletion test/ui/views/news_details_view_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ void main() {
title: 'Mock News 1',
content:
'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec tempus arcu sed quam tincidunt, non venenatis orci mollis. 1',
state: 1,
state: "1",
publicationDate: DateTime.now().subtract(const Duration(days: 5)),
eventStartDate: DateTime.now().add(const Duration(days: 2)),
eventEndDate: DateTime.now().add(const Duration(days: 2, hours: 2)),
Expand Down
2 changes: 1 addition & 1 deletion test/ui/views/news_view_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ void main() {
title: 'Mock News 1',
content:
'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec tempus arcu sed quam tincidunt, non venenatis orci mollis. 1',
state: 1,
state: "1",
publicationDate: DateTime.now().subtract(const Duration(days: 5)),
eventStartDate: DateTime.now().add(const Duration(days: 2)),
eventEndDate: DateTime.now().add(const Duration(days: 2, hours: 2)),
Expand Down
2 changes: 1 addition & 1 deletion test/ui/widgets/news_card_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ void main() {
title: 'Mock News 1',
content:
'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec tempus arcu sed quam tincidunt, non venenatis orci mollis. 1',
state: 1,
state: "1",
publicationDate: DateTime.now().subtract(const Duration(days: 5)),
eventStartDate: DateTime.now().add(const Duration(days: 2)),
eventEndDate: DateTime.now().add(const Duration(days: 2, hours: 2)),
Expand Down
2 changes: 1 addition & 1 deletion test/viewmodels/author_viewmodel_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ void main() {
title: 'Mock News 1',
content:
'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec tempus arcu sed quam tincidunt, non venenatis orci mollis. 1',
state: 1,
state: "1",
publicationDate: DateTime.now().subtract(const Duration(days: 5)),
eventStartDate: DateTime.now().add(const Duration(days: 2)),
eventEndDate: DateTime.now().add(const Duration(days: 2, hours: 2)),
Expand Down
2 changes: 1 addition & 1 deletion test/viewmodels/news_details_viewmodel_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ void main() {
title: 'Mock News 1',
content:
'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec tempus arcu sed quam tincidunt, non venenatis orci mollis. 1',
state: 1,
state: "1",
publicationDate: DateTime.now().subtract(const Duration(days: 5)),
eventStartDate: DateTime.now().add(const Duration(days: 2)),
eventEndDate: DateTime.now().add(const Duration(days: 2, hours: 2)),
Expand Down
4 changes: 2 additions & 2 deletions test/viewmodels/news_viewmodel_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ void main() {
title: 'Mock News 1',
content: 'Mock Description 1',
imageUrl: 'https://example.com/mock-image1.jpg',
state: 1,
state: "1",
publicationDate: DateTime.now().subtract(const Duration(days: 5)),
eventStartDate: DateTime.now().add(const Duration(days: 2)),
eventEndDate: DateTime.now().add(const Duration(days: 2, hours: 2)),
Expand All @@ -42,7 +42,7 @@ void main() {
title: 'Mock News 2',
content: 'Mock Description 2',
imageUrl: 'https://example.com/mock-image2.jpg',
state: 1,
state: "1",
publicationDate: DateTime.now().subtract(const Duration(days: 5)),
eventStartDate: DateTime.now().add(const Duration(days: 2)),
eventEndDate: DateTime.now().add(const Duration(days: 2, hours: 2)),
Expand Down

0 comments on commit e03ba95

Please sign in to comment.