We're updating the issue view to help you get more done. 

No Base64 encoder set during unit tests

Description

While writing unit tests, I discovered, that I get NPEs when executing functions that use Base64.decode(). It turns out that during unit test runtime there is no Base64 decoder registered.

Environment

None

Acceptance Test - Entry

None

Activity

Show:
vanitasvitae
May 22, 2017, 1:32 PM

I figured I can work around this by calling

at the start of my test.

vanitasvitae
May 22, 2017, 1:33 PM

Ah, Unit tests are supposed to inherit SmackTestSuite.

vanitasvitae
May 22, 2017, 1:34 PM

Junit tests are supposed to inherit SmackTestSuite in order to use initialized Base64.

Not a bug

Assignee

Unassigned

Reporter

vanitasvitae

Labels

Expected Effort

Unknown

Ignite Forum URL

None

Affects versions

Priority

Major
Configure