Skip to content

Commit

Permalink
Acknoowledge license in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
vanitasvitae committed Jun 2, 2017
1 parent 3a6a817 commit 8af00cb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Expand Up @@ -42,6 +42,7 @@ public static void main(String[] args) throws InvalidKeyException, NoSuchPadding
InvalidAlgorithmParameterException, IllegalBlockSizeException,
BadPaddingException, NoSuchAlgorithmException, NoSuchProviderException, SmackException,
InterruptedException, CorruptedOmemoKeyException, KeyManagementException, IOException, XMPPException {
SignalOmemoService.acknowledgeLicense();
SignalOmemoService.setup();

final String[] smackOmemoPackages = new String[] { "org.jivesoftware.smackx.omemo" };
Expand Down
Expand Up @@ -55,6 +55,7 @@ public class OmemoManagerTest extends SmackTestSuite {

@Test
public void instantiationTest() throws CorruptedOmemoKeyException, NoSuchAlgorithmException, UnsupportedEncodingException, InvalidKeyException, InterruptedException, XMPPException.XMPPErrorException, NoSuchPaddingException, BadPaddingException, InvalidAlgorithmParameterException, NoSuchProviderException, IllegalBlockSizeException, SmackException {
SignalOmemoService.acknowledgeLicense();
SignalOmemoService.setup();

DummyConnection dummy = new DummyConnection();
Expand Down

0 comments on commit 8af00cb

Please sign in to comment.