AbstractWiserTest: fix refactoring artifact and use constant directly
Signed-off-by: Paul Campbell <pcampbell@kemitix.net>
This commit is contained in:
parent
a11b2fcdd4
commit
06c48f4444
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ public abstract class AbstractWiserTest {
|
|||
Properties properties = new Properties();
|
||||
properties.setProperty("mail.transport.protocol", "smtp");
|
||||
properties.setProperty("mail.smtp.host", "localhost");
|
||||
properties.setProperty("mail.smtp.port", "" + WiserAssertionsTest.PORT);
|
||||
properties.setProperty("mail.smtp.port", "" + PORT);
|
||||
Session session = Session.getDefaultInstance(properties);
|
||||
return session;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue