Skip to content

Commit 02ce9d8

Browse files
committed
JIRA WDT-47 Fixed unit test
1 parent b8aef22 commit 02ce9d8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

core/src/test/python/aliases_test.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -888,7 +888,9 @@ def testBooleanDefaultValues(self):
888888
return
889889

890890
def testGetWlstAttributeJavaBoolean(self):
891-
location = LocationContext().append_location(FOLDERS.SECURITY_CONFIGURATION, DOMAIN='mydomain')
891+
location = LocationContext().append_location(FOLDERS.SECURITY_CONFIGURATION)
892+
token = self.aliases.get_name_token(location)
893+
location.add_name_token(token, 'my-domain')
892894
location.append_location(FOLDERS.REALM, REALM="myrealm").\
893895
append_location(FOLDERS.AUTHENTICATION_PROVIDER, PROVIDER='myprovider').\
894896
append_location(FOLDERS.ACTIVE_DIRECTORY_AUTHENTICATOR)

0 commit comments

Comments
 (0)