From 31bb82e557b2c5ed4dcc7561b47e9fb5a4e71fa4 Mon Sep 17 00:00:00 2001
From: felmer <felmer>
Date: Mon, 29 Sep 2014 08:44:47 +0000
Subject: [PATCH] SSDM-949: Introducing class SearchDomain and using it in
 SearchDomainSearchResult.

SVN: 32507
---
 .../tests/1/as/webapps/openbis-test/html/openbis-test.js       | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/js-test/servers/common/core-plugins/tests/1/as/webapps/openbis-test/html/openbis-test.js b/js-test/servers/common/core-plugins/tests/1/as/webapps/openbis-test/html/openbis-test.js
index 4142cacc9f7..06660573cca 100644
--- a/js-test/servers/common/core-plugins/tests/1/as/webapps/openbis-test/html/openbis-test.js
+++ b/js-test/servers/common/core-plugins/tests/1/as/webapps/openbis-test/html/openbis-test.js
@@ -821,7 +821,8 @@ test("searchOnSearchDomain()", function() {
 
 		facade.searchForDataSetsWithSequences(preferredSearchDomainOrNull, sequenceSnippet, optionalParametersOrNull, function(response) {
 			assertObjectsCount(response.result, 2);
-			assertObjectsWithValues(response.result, 'searchDomain', [ "Echo database" ]);
+			searchDomain = response.result['searchDomain'];
+			assertObjectsWithValues(searchDomain, 'name', [ "Echo database" ]);
 			location = response.result['resultLocation'];
 			assertObjectsWithValues(location, 'dataSetCode', [ "20130415093804724-403" ]);
 			assertObjectsWithValues(location, 'pathInDataSet', [ "PATH-2" ]);
-- 
GitLab