rootstrap/ios-base

View on GitHub
ios-baseUITests/NetworkMockerExtension.swift

Summary

Maintainability
A
0 mins
Test Coverage

Showing 0 of 2 total issues

Similar blocks of code found in 2 locations. Consider refactoring.
Invalid

func stubLogIn(shouldSucceed: Bool = true) {
let responseFilename = shouldSucceed ? "LoginSuccessfully" : "AuthenticationError"
setupStub(
url: "/users/sign_in",
Severity: Minor
Found in ios-baseUITests/NetworkMockerExtension.swift and 1 other location - About 30 mins to fix
ios-baseUITests/NetworkMockerExtension.swift on lines 13..21

Similar blocks of code found in 2 locations. Consider refactoring.
Invalid

func stubSignUp(shouldSucceed: Bool = true) {
let responseFileName = shouldSucceed ? "SignUpSuccessfully" : "AuthenticationError"
setupStub(
url: "/users/",
Severity: Minor
Found in ios-baseUITests/NetworkMockerExtension.swift and 1 other location - About 30 mins to fix
ios-baseUITests/NetworkMockerExtension.swift on lines 39..47

There are no issues that match your filters.

Category
Status