mirror of
https://github.com/foss42/apidash.git
synced 2025-12-03 03:17:00 +08:00
apidash_core: networking contents removed & platform-wide changes made
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import 'package:apidash/codegen/codegen.dart';
|
||||
import 'package:apidash/consts.dart';
|
||||
import 'package:apidash_core/apidash_core.dart';
|
||||
import 'package:better_networking/better_networking.dart';
|
||||
import 'package:test/test.dart';
|
||||
|
||||
import '../models/request_models.dart';
|
||||
@@ -395,7 +395,6 @@ dispatchMain()""";
|
||||
expectedCode);
|
||||
});
|
||||
},
|
||||
|
||||
);
|
||||
|
||||
group(
|
||||
@@ -465,7 +464,6 @@ dispatchMain()""";
|
||||
expectedCode);
|
||||
});
|
||||
},
|
||||
|
||||
);
|
||||
|
||||
group(
|
||||
@@ -650,7 +648,6 @@ dispatchMain()""";
|
||||
expectedCode);
|
||||
});
|
||||
|
||||
|
||||
test('POST 6', () {
|
||||
const expectedCode = r"""
|
||||
import Foundation
|
||||
@@ -689,9 +686,6 @@ dispatchMain()""";
|
||||
expectedCode);
|
||||
});
|
||||
|
||||
|
||||
|
||||
|
||||
test('POST 7', () {
|
||||
const expectedCode = r"""
|
||||
import Foundation
|
||||
@@ -800,7 +794,7 @@ dispatchMain()""";
|
||||
SupportedUriSchemes.https,
|
||||
),
|
||||
expectedCode);
|
||||
});
|
||||
});
|
||||
test('POST 10', () {
|
||||
const expectedCode = r'''
|
||||
import Foundation
|
||||
@@ -837,7 +831,6 @@ dispatchMain()''';
|
||||
expectedCode);
|
||||
});
|
||||
},
|
||||
|
||||
);
|
||||
|
||||
group(
|
||||
@@ -879,7 +872,6 @@ dispatchMain()''';
|
||||
expectedCode);
|
||||
});
|
||||
},
|
||||
|
||||
);
|
||||
|
||||
group(
|
||||
@@ -921,7 +913,6 @@ dispatchMain()''';
|
||||
expectedCode);
|
||||
});
|
||||
},
|
||||
|
||||
);
|
||||
|
||||
group(
|
||||
@@ -995,6 +986,5 @@ dispatchMain()''';
|
||||
expectedCode);
|
||||
});
|
||||
},
|
||||
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user