Fixed tests.

Project: http://git-wip-us.apache.org/repos/asf/usergrid/repo
Commit: http://git-wip-us.apache.org/repos/asf/usergrid/commit/2376ec1a
Tree: http://git-wip-us.apache.org/repos/asf/usergrid/tree/2376ec1a
Diff: http://git-wip-us.apache.org/repos/asf/usergrid/diff/2376ec1a

Branch: refs/heads/master
Commit: 2376ec1a137ceb8789c9bd90c26d05c8ddbba5ef
Parents: 9672e3a
Author: Robert Walsh <rjwalsh1...@gmail.com>
Authored: Wed Apr 13 16:49:49 2016 -0500
Committer: Robert Walsh <rjwalsh1...@gmail.com>
Committed: Wed Apr 13 16:49:49 2016 -0500

----------------------------------------------------------------------
 sdks/swift/Tests/GET_Tests.swift | 4 ++--
 sdks/swift/Tests/PUT_Tests.swift | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/usergrid/blob/2376ec1a/sdks/swift/Tests/GET_Tests.swift
----------------------------------------------------------------------
diff --git a/sdks/swift/Tests/GET_Tests.swift b/sdks/swift/Tests/GET_Tests.swift
index 1cf130b..2b0331f 100644
--- a/sdks/swift/Tests/GET_Tests.swift
+++ b/sdks/swift/Tests/GET_Tests.swift
@@ -65,7 +65,7 @@ class GET_Tests: XCTestCase {
             XCTAssertTrue(NSThread.isMainThread())
             XCTAssertNotNil(response)
             XCTAssertTrue(response.ok)
-            XCTAssertEqual(response.count, 3)
+            XCTAssertEqual(response.count, 1)
             getExpect.fulfill()
         }
         self.waitForExpectationsWithTimeout(10, handler: nil)
@@ -103,7 +103,7 @@ class GET_Tests: XCTestCase {
                 XCTAssertTrue(nextPageResponse.ok)
                 XCTAssertNotNil(nextPageResponse)
                 XCTAssertFalse(nextPageResponse.hasNextPage)
-                XCTAssertEqual(nextPageResponse.entities!.count, 8)
+                XCTAssertEqual(nextPageResponse.entities!.count, 7)
                 getExpect.fulfill()
             }
         }

http://git-wip-us.apache.org/repos/asf/usergrid/blob/2376ec1a/sdks/swift/Tests/PUT_Tests.swift
----------------------------------------------------------------------
diff --git a/sdks/swift/Tests/PUT_Tests.swift b/sdks/swift/Tests/PUT_Tests.swift
index ff78f60..b1ff3e7 100644
--- a/sdks/swift/Tests/PUT_Tests.swift
+++ b/sdks/swift/Tests/PUT_Tests.swift
@@ -143,7 +143,7 @@ class PUT_Tests: XCTestCase {
             XCTAssertTrue(NSThread.isMainThread())
             XCTAssertNotNil(putResponse)
             XCTAssertTrue(putResponse.ok)
-            XCTAssertEqual(putResponse.entities!.count, 3)
+            XCTAssertEqual(putResponse.entities!.count, 1)
 
             let responseEntity = putResponse.first!
             XCTAssertNotNil(responseEntity)

Reply via email to