just gen-client — покрывает links, cashflow-broker, ручные цены, imports/pending, goals/income/rebalance/tax/benchmarks.
39 lines
997 B
Dart
39 lines
997 B
Dart
import 'package:test/test.dart';
|
|
import 'package:fintracker_api/fintracker_api.dart';
|
|
|
|
|
|
/// tests for LinksApi
|
|
void main() {
|
|
final instance = FintrackerApi().getLinksApi();
|
|
|
|
group(LinksApi, () {
|
|
// Create
|
|
//
|
|
// Confirm a pairing the matcher missed. Never touched by the automatic rebuild afterwards.
|
|
//
|
|
//Future<LinkOut> linksCreate(LinkCreate linkCreate) async
|
|
test('test linksCreate', () async {
|
|
// TODO
|
|
});
|
|
|
|
// Delete
|
|
//
|
|
// Undo a link, manual or automatic. `flow_type` reverts on the next `POST /metrics/refresh`, when `classify` rebuilds it from the rules and `matching` no longer overwrites it.
|
|
//
|
|
//Future linksDelete(int linkId) async
|
|
test('test linksDelete', () async {
|
|
// TODO
|
|
});
|
|
|
|
// Unmatched
|
|
//
|
|
// Every candidate that survives matching without a link, on either side.
|
|
//
|
|
//Future<UnmatchedOut> linksUnmatched() async
|
|
test('test linksUnmatched', () async {
|
|
// TODO
|
|
});
|
|
|
|
});
|
|
}
|