Skip to content

Commit c93cb67

Browse files
committed
reset UseBoolBin after test suite
1 parent cebd15a commit c93cb67

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/test/java/com/aerospike/mapper/BooleanTest.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,19 @@
77
import com.aerospike.mapper.annotations.AerospikeRecord;
88
import com.aerospike.mapper.tools.AeroMapper;
99
import com.fasterxml.jackson.core.JsonProcessingException;
10+
import org.junit.jupiter.api.AfterAll;
1011
import org.junit.jupiter.api.Test;
1112

1213
import static org.junit.jupiter.api.Assertions.assertEquals;
1314
import static com.aerospike.client.Value.UseBoolBin;
1415

1516
public class BooleanTest extends AeroMapperBaseTest {
17+
@AfterAll
18+
public static void resetBooleanEncoding(){
19+
UseBoolBin = true;
20+
}
21+
22+
1623
@AerospikeRecord(namespace = "test", set = "B")
1724
public static class B {
1825
@AerospikeKey

0 commit comments

Comments
 (0)