Skip to content

Commit

Permalink
* added test for the loginAsGuest method
Browse files Browse the repository at this point in the history
  • Loading branch information
Olha Danylova committed Aug 27, 2019
1 parent 3c4ddfb commit 13ebc3d
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 29 deletions.
20 changes: 0 additions & 20 deletions Package.swift

This file was deleted.

Binary file not shown.
7 changes: 0 additions & 7 deletions SwiftSDK/SwiftSDK.h
Expand Up @@ -21,12 +21,5 @@

#import <Foundation/Foundation.h>

//! Project version number for SwiftSDK.
FOUNDATION_EXPORT double SwiftSDKVersionNumber;

//! Project version string for SwiftSDK.
FOUNDATION_EXPORT const unsigned char SwiftSDKVersionString[];

// In this header, you should import all the public headers of your framework using statements like #import <SwiftSDK/PublicHeader.h>


4 changes: 2 additions & 2 deletions Tests/SwiftSDKTests/UserServiceTests/UserServiceTests.swift
Expand Up @@ -174,7 +174,7 @@ class UserServiceTests: XCTestCase {
waitForExpectations(timeout: timeout, handler: nil)
}

/*func test_10_loginAsGuest() {
func test_10_loginAsGuest() {
let expectation = self.expectation(description: "PASSED: userService.loginAsGuest")
backendless.userService.loginAsGuest(responseHandler: { guestUser in
XCTAssertNotNil(guestUser.objectId)
Expand All @@ -186,5 +186,5 @@ class UserServiceTests: XCTestCase {
XCTFail("\(fault.code): \(fault.message!)")
})
waitForExpectations(timeout: timeout, handler: nil)
}*/
}
}

0 comments on commit 13ebc3d

Please sign in to comment.