This commit is contained in:
2024-06-06 21:31:30 -05:00
parent 00a4965efc
commit d350dde994
2 changed files with 22 additions and 18 deletions
+1 -2
View File
@@ -42,8 +42,7 @@ void main() async {
"password": "tmp"
}
''';
var response = await http.post(
Uri.parse('$apiAddress, /fbla-api/createuser'),
var response = await http.post(Uri.parse('$apiAddress/fbla-api/createuser'),
body: json,
headers: {'Authorization': token}).timeout(const Duration(seconds: 20));
expect(response.statusCode, 200);