From dfac24398a0ccd4126c1b21b24ca3db7e5c63633 Mon Sep 17 00:00:00 2001 From: RuiAlonso Date: Mon, 25 Apr 2022 10:40:24 +0200 Subject: [PATCH] test: changed test url to a fake one --- .../share_repository/test/src/share_repository_test.dart | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/share_repository/test/src/share_repository_test.dart b/packages/share_repository/test/src/share_repository_test.dart index d62e51d7..ca41b413 100644 --- a/packages/share_repository/test/src/share_repository_test.dart +++ b/packages/share_repository/test/src/share_repository_test.dart @@ -4,7 +4,7 @@ import 'package:test/test.dart'; void main() { group('ShareRepository', () { - const appUrl = 'https://ashehwkdkdjruejdnensjsjdne.web.app/#/'; + const appUrl = 'https://fakeurl.com/'; late ShareRepository shareRepository; setUp(() { @@ -19,7 +19,7 @@ void main() { const shareText = 'hello world!'; test('returns the correct share url for twitter', () async { const shareScoreUrl = - 'https://twitter.com/intent/tweet?url=https%3A%2F%2Fashehwkdkdjruejdnensjsjdne.web.app%2F%23%2F&text=hello%20world!'; + 'https://twitter.com/intent/tweet?url=https%3A%2F%2Ffakeurl.com%2F&text=hello%20world!'; final shareScoreResult = shareRepository.shareScore( shareText: shareText, platform: SharePlatform.twitter, @@ -29,7 +29,7 @@ void main() { test('returns the correct share url for facebook', () async { const shareScoreUrl = - 'https://www.facebook.com/sharer.php?u=https%3A%2F%2Fashehwkdkdjruejdnensjsjdne.web.app%2F%23%2F"e=hello%20world!'; + 'https://www.facebook.com/sharer.php?u=https%3A%2F%2Ffakeurl.com%2F"e=hello%20world!'; final shareScoreResult = shareRepository.shareScore( shareText: shareText, platform: SharePlatform.facebook,