update test

auto-update
Zlatin Balevsky 2022-02-21 11:34:09 +00:00
parent d3654a17f0
commit 0ba03e94b0
No known key found for this signature in database
GPG Key ID: A72832072D525E41
1 changed files with 4 additions and 4 deletions

View File

@ -26,7 +26,7 @@ class TrustServiceTest {
persistBad.delete()
persistGood.deleteOnExit()
persistBad.deleteOnExit()
service = new TrustService(persistGood, persistBad, 100)
service = new TrustService(persistGood, persistBad)
service.start()
}
@ -77,9 +77,9 @@ class TrustServiceTest {
@Test
void testLoad() {
service.stop()
persistGood.append("${personas.persona1.toBase64()}\n")
persistBad.append("${personas.persona2.toBase64()}\n")
service = new TrustService(persistGood, persistBad, 100)
persistGood.append("{ \"persona\" : \"${personas.persona1.toBase64()}\", \"reason\":\"good\"}\n")
persistBad.append("{ \"persona\" : \"${personas.persona2.toBase64()}\", \"reason\",\"bad\"}\n")
service = new TrustService(persistGood, persistBad)
service.start()
Thread.sleep(50)