mirror of
https://github.com/Qortal/qortal.git
synced 2025-07-23 04:36:50 +00:00
Now showing errors directly in the POST /bootstrap/create API response.
This avoids needing to check the log file each time.
This commit is contained in:
@@ -43,12 +43,12 @@ public class BootstrapTests extends Common {
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testCanCreateBootstrap() throws DataException, InterruptedException, TransformationException, IOException {
|
||||
public void testCheckRepositoryState() throws DataException, InterruptedException, TransformationException, IOException {
|
||||
try (final Repository repository = RepositoryManager.getRepository()) {
|
||||
this.buildDummyBlockchain(repository);
|
||||
|
||||
Bootstrap bootstrap = new Bootstrap(repository);
|
||||
assertTrue(bootstrap.canCreateBootstrap());
|
||||
assertTrue(bootstrap.checkRepositoryState());
|
||||
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user