mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-04 00:26:20 +00:00
WIP update for migration runner
This commit is contained in:
1 parent
12e6c0b139
commit
84fa373728
5 files changed
+104
-13
No files matched your search
@@ -0,0 +1,18 @@
|
||||
package com.avaje.ebean.dbmigration.runner;
|
||||
|
||||
import org.junit.Test;
|
||||
|
||||
import static org.assertj.core.api.Assertions.assertThat;
|
||||
|
||||
public class ChecksumTest {
|
||||
|
||||
@Test
|
||||
public void test_calculate() throws Exception {
|
||||
|
||||
int checkFoo = Checksum.calculate("foo");
|
||||
|
||||
assertThat(Checksum.calculate("foo")).isEqualTo(checkFoo);
|
||||
assertThat(Checksum.calculate("Foo")).isNotEqualTo(checkFoo);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user