Skip to content

Commit 2903221

Browse files
committed
assertNull
1 parent 7366a58 commit 2903221

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

templates/java/tests/requests/requests.mustache

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
package com.algolia.methods.requests;
22

33
import static org.junit.jupiter.api.Assertions.assertEquals;
4+
import static org.junit.jupiter.api.Assertions.assertNull;
45
import static org.junit.jupiter.api.Assertions.assertTrue;
56
import static org.junit.jupiter.api.Assertions.assertDoesNotThrow;
67
import static org.junit.jupiter.api.Assertions.fail;
@@ -72,7 +73,7 @@ class {{client}}RequestsTests {
7273
});
7374
{{/request.body}}
7475
{{^request.body}}
75-
assertEquals(req.body, null);
76+
assertNull(req.body);
7677
{{/request.body}}
7778

7879
{{#request.queryParameters}}

0 commit comments

Comments
 (0)