Skip to content

Commit

Permalink
fix failing app_icon tests
Browse files Browse the repository at this point in the history
  • Loading branch information
felangel committed Jan 13, 2025
1 parent 0ee0b6f commit 5c243eb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/mason_cli/test/commands/make_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ bricks:

test('exits with code 70 when exception occurs while generating', () async {
const url =
'https://cdn.dribbble.com/users/163325/screenshots/6214023/app_icon.jpg';
'https://storage.googleapis.com/cms-storage-bucket/c823e53b3a1a7b0d36a9.png';
when(
() => logger.prompt(any(), defaultValue: any(named: 'defaultValue')),
).thenReturn(url);
Expand Down Expand Up @@ -485,7 +485,7 @@ bricks:
'make',
'app_icon',
'--url',
'https://cdn.dribbble.com/users/163325/screenshots/6214023/app_icon.jpg',
'https://storage.googleapis.com/cms-storage-bucket/c823e53b3a1a7b0d36a9.png',
]);
expect(result, equals(ExitCode.success.code));

Expand All @@ -500,7 +500,7 @@ bricks:

test('generates app_icon (from prompt)', () async {
const url =
'https://cdn.dribbble.com/users/163325/screenshots/6214023/app_icon.jpg';
'https://storage.googleapis.com/cms-storage-bucket/c823e53b3a1a7b0d36a9.png';
when(() => logger.prompt(any())).thenReturn(url);
final testDir = Directory(
path.join(Directory.current.path, 'app_icon'),
Expand Down
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 5c243eb

Please sign in to comment.