From 55622c54b8865a0633ebc584944096b1de778649 Mon Sep 17 00:00:00 2001 From: Leo Farias Date: Thu, 29 Feb 2024 16:23:39 -0500 Subject: [PATCH] Remove model test --- docs/next.config.js | 5 +++++ test/src/models/config_model_test.dart | 27 -------------------------- 2 files changed, 5 insertions(+), 27 deletions(-) delete mode 100644 test/src/models/config_model_test.dart diff --git a/docs/next.config.js b/docs/next.config.js index c15c3b37..61814697 100644 --- a/docs/next.config.js +++ b/docs/next.config.js @@ -23,6 +23,11 @@ module.exports = withNextra({ destination: "/documentation/getting-started/faq", permanent: true, }, + { + source: "/docs/guides/global_version", + destination: "/documentation/guides/global-configuration", + permanent: true, + }, ]; }, }); diff --git a/test/src/models/config_model_test.dart b/test/src/models/config_model_test.dart deleted file mode 100644 index 19b0135f..00000000 --- a/test/src/models/config_model_test.dart +++ /dev/null @@ -1,27 +0,0 @@ -import 'package:fvm/src/models/config_model.dart'; -import 'package:test/test.dart'; - -void main() { - group('person test', () { - test( - '', - () { - final appConfig = AppConfig( - cachePath: 'cachePath', - flutterUrl: 'flutterUrl', - useGitCache: true, - ); - - final newConfig = appConfig.copyWith( - cachePath: 'newCachePath', - flutterUrl: 'newFlutterUrl', - useGitCache: null, - ); - - expect(newConfig.cachePath, 'newCachePath'); - expect(newConfig.flutterUrl, 'newFlutterUrl'); - expect(newConfig.useGitCache, true); - }, - ); - }); -}