                 expectation.fulfill()
             }
         })
+        
         wait(for: [expectation], timeout: 2)
     }
 }

        wait(for: [expectation], timeout: 2)
    }

    func testFetchLoginServices() {
        let api = MockAPI()
        let realm = testRealm()

                    "scope": "openid",
                    "buttonLabelText": "open",
                    "buttonLabelColor": "#FFFFFF",
                    "loginStyle": "popup",
                    "buttonColor": "#13679A",
                    "tokenSentVia": "payload",
                    "identityTokenSentVia": nil,
                    "usernameField": "username",
                    "mergeUsers": true
