From c78dc37e34525c0333f3ad951edd0f97780d5bc6 Mon Sep 17 00:00:00 2001 From: Tobe O Date: Mon, 31 Dec 2018 11:50:03 -0500 Subject: [PATCH] fix success redirect test --- test/local_test.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/local_test.dart b/test/local_test.dart index c4985be0..ef401d02 100644 --- a/test/local_test.dart +++ b/test/local_test.dart @@ -85,7 +85,7 @@ main() async { var response = await client.post("$url/login", body: json.encode(postData), headers: {'content-type': 'application/json'}); - expect(response.statusCode, equals(200)); + expect(response.statusCode, equals(302)); expect(response.headers['location'], equals('/success')); });