-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into feature/app-update-version-on-dashboard
- Loading branch information
Showing
102 changed files
with
6,647 additions
and
190 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,7 +38,7 @@ final class SignInViewModelTests: XCTestCase { | |
await viewModel.login(username: "email", password: "") | ||
|
||
Verify(interactor, 0, .login(username: .any, password: .any)) | ||
Verify(router, 0, .showMainScreen()) | ||
Verify(router, 0, .showMainOrWhatsNewScreen()) | ||
|
||
XCTAssertEqual(viewModel.errorMessage, AuthLocalization.Error.invalidEmailAddress) | ||
XCTAssertEqual(viewModel.isShowProgress, false) | ||
|
@@ -59,7 +59,7 @@ final class SignInViewModelTests: XCTestCase { | |
await viewModel.login(username: "[email protected]", password: "") | ||
|
||
Verify(interactor, 0, .login(username: .any, password: .any)) | ||
Verify(router, 0, .showMainScreen()) | ||
Verify(router, 0, .showMainOrWhatsNewScreen()) | ||
|
||
XCTAssertEqual(viewModel.errorMessage, AuthLocalization.Error.invalidPasswordLenght) | ||
XCTAssertEqual(viewModel.isShowProgress, false) | ||
|
@@ -85,7 +85,7 @@ final class SignInViewModelTests: XCTestCase { | |
|
||
Verify(interactor, 1, .login(username: .any, password: .any)) | ||
Verify(analytics, .userLogin(method: .any)) | ||
Verify(router, 1, .showMainScreen()) | ||
Verify(router, 1, .showMainOrWhatsNewScreen()) | ||
|
||
XCTAssertEqual(viewModel.errorMessage, nil) | ||
XCTAssertEqual(viewModel.isShowProgress, true) | ||
|
@@ -113,7 +113,7 @@ final class SignInViewModelTests: XCTestCase { | |
await viewModel.login(username: "[email protected]", password: "password123") | ||
|
||
Verify(interactor, 1, .login(username: .any, password: .any)) | ||
Verify(router, 0, .showMainScreen()) | ||
Verify(router, 0, .showMainOrWhatsNewScreen()) | ||
|
||
XCTAssertEqual(viewModel.errorMessage, validationErrorMessage) | ||
XCTAssertEqual(viewModel.isShowProgress, false) | ||
|
@@ -137,7 +137,7 @@ final class SignInViewModelTests: XCTestCase { | |
await viewModel.login(username: "[email protected]", password: "password123") | ||
|
||
Verify(interactor, 1, .login(username: .any, password: .any)) | ||
Verify(router, 0, .showMainScreen()) | ||
Verify(router, 0, .showMainOrWhatsNewScreen()) | ||
|
||
XCTAssertEqual(viewModel.errorMessage, CoreLocalization.Error.invalidCredentials) | ||
XCTAssertEqual(viewModel.isShowProgress, false) | ||
|
@@ -161,7 +161,7 @@ final class SignInViewModelTests: XCTestCase { | |
await viewModel.login(username: "[email protected]", password: "password123") | ||
|
||
Verify(interactor, 1, .login(username: .any, password: .any)) | ||
Verify(router, 0, .showMainScreen()) | ||
Verify(router, 0, .showMainOrWhatsNewScreen()) | ||
|
||
XCTAssertEqual(viewModel.errorMessage, CoreLocalization.Error.unknownError) | ||
XCTAssertEqual(viewModel.isShowProgress, false) | ||
|
@@ -187,7 +187,7 @@ final class SignInViewModelTests: XCTestCase { | |
await viewModel.login(username: "[email protected]", password: "password123") | ||
|
||
Verify(interactor, 1, .login(username: .any, password: .any)) | ||
Verify(router, 0, .showMainScreen()) | ||
Verify(router, 0, .showMainOrWhatsNewScreen()) | ||
|
||
XCTAssertEqual(viewModel.errorMessage, CoreLocalization.Error.slowOrNoInternetConnection) | ||
XCTAssertEqual(viewModel.isShowProgress, false) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
sourceryCommand: null | ||
sourceryTemplate: null | ||
sourceryCommand: mint run krzysztofzablocki/[email protected] sourcery | ||
sourceryTemplate: ../MockTemplate.swifttemplate | ||
unit.tests.mock: | ||
sources: | ||
include: | ||
|
5 changes: 4 additions & 1 deletion
5
...xcshareddata/WorkspaceSettings.xcsettings → ...ace/xcshareddata/IDEWorkspaceChecks.plist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict/> | ||
<dict> | ||
<key>IDEDidComputeMac32BitWarning</key> | ||
<true/> | ||
</dict> | ||
</plist> |
14 changes: 14 additions & 0 deletions
14
Core/Core.xcodeproj.xcworkspace/xcshareddata/swiftpm/Package.resolved
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"pins" : [ | ||
{ | ||
"identity" : "youtubeplayerkit", | ||
"kind" : "remoteSourceControl", | ||
"location" : "https://github.com/SvenTiigi/YouTubePlayerKit", | ||
"state" : { | ||
"revision" : "1fe4c8b07a61d50c2fd276e1d9c8087583c7638a", | ||
"version" : "1.5.3" | ||
} | ||
} | ||
], | ||
"version" : 2 | ||
} |
7 changes: 7 additions & 0 deletions
7
Core/Core.xcodeproj/project.xcworkspace/contents.xcworkspacedata
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
8 changes: 8 additions & 0 deletions
8
Core/Core.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>IDEDidComputeMac32BitWarning</key> | ||
<true/> | ||
</dict> | ||
</plist> |
14 changes: 14 additions & 0 deletions
14
Core/Core.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"pins" : [ | ||
{ | ||
"identity" : "youtubeplayerkit", | ||
"kind" : "remoteSourceControl", | ||
"location" : "https://github.com/SvenTiigi/YouTubePlayerKit", | ||
"state" : { | ||
"revision" : "1fe4c8b07a61d50c2fd276e1d9c8087583c7638a", | ||
"version" : "1.5.3" | ||
} | ||
} | ||
], | ||
"version" : 2 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.