Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1e1d424f authored by Juan Carlos González Cabrero's avatar Juan Carlos González Cabrero
Browse files

Fix comparison of share type in the GetShareesTest

parent b13e584a
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -134,7 +134,7 @@ public class GetShareesTest extends RemoteTest {
				resultItem = (JSONObject) result.getData().get(i);
	            value = resultItem.getJSONObject(GetRemoteShareesOperation.NODE_VALUE);
	            type = value.getInt(GetRemoteShareesOperation.PROPERTY_SHARE_TYPE);
				if (type == ShareType.GROUP) {
				if (type == ShareType.GROUP.getValue()) {
					groupCount++;
				} else {
					userCount++;
@@ -158,7 +158,7 @@ public class GetShareesTest extends RemoteTest {
				resultItem = (JSONObject) result.getData().get(i);
	            value = resultItem.getJSONObject(GetRemoteShareesOperation.NODE_VALUE);
	            type = value.getInt(GetRemoteShareesOperation.PROPERTY_SHARE_TYPE);
				if (type == ShareType.GROUP) {
				if (type == ShareType.GROUP.getValue()) {
					groupCount++;
				} else {
					userCount++;