Closed sweep-ai[bot] closed 1 year ago
Please implement every functions body.
Please implement every functions body.
Hi @olvrwn,
I decided to make the following changes:
File Path | Proposed Changes |
---|---|
CashBudTests/LocalPersistenceServiceMock.swift |
Modify CashBudTests/LocalPersistenceServiceMock.swift with contents: • Implement the body of the saveData(_:forKey:) function.• Implement the body of the loadData(forKey:) function.• Implement the body of the removeData(forKey:) function.• Implement the body of the removeAllData() function. |
Please only add the functions that are necessary to conform to the LocalPersistenceServiceProtocol. Please implement the body of those functions.
Please only add the functions that are necessary to conform to the LocalPersistenceServiceProtocol. Please implement the body of those functions.
Hi @olvrwn,
I decided to make the following changes:
File Path | Proposed Changes |
---|---|
CashBudTests/LocalPersistenceServiceMock.swift |
Modify CashBudTests/LocalPersistenceServiceMock.swift with contents: • Implement the body of the saveData(_:forKey:) function.• Implement the body of the loadData(forKey:) function.• Implement the body of the removeData(forKey:) function.• Implement the body of the removeAllData() function. |
LocalPersistenceServiceMock does not conform to LocalPersistenceServiceProtocol, please remove all functions that are not mentioned within the protocol and only add those, that are necessary.
LocalPersistenceServiceMock does not conform to LocalPersistenceServiceProtocol, please remove all functions that are not mentioned within the protocol and only add those, that are necessary.
Hi @olvrwn,
I decided to make the following changes:
File Path | Proposed Changes |
---|---|
CashBudTests/LocalPersistenceServiceMock.swift |
Modify CashBudTests/LocalPersistenceServiceMock.swift with contents: • Remove the removeAllData function as it is not mentioned in the LocalPersistenceServiceProtocol .• Remove the removeData function as it is not mentioned in the LocalPersistenceServiceProtocol .• Remove the saveData function as it is not mentioned in the LocalPersistenceServiceProtocol .• Remove the loadData function as it is not mentioned in the LocalPersistenceServiceProtocol . |
SonarCloud Quality Gate failed.
0 Bugs
0 Vulnerabilities
0 Security Hotspots
0 Code Smells
0.0% Coverage
0.0% Duplication
Catch issues before they fail your Quality Gate with our IDE extension SonarLint
Only implement the functions from the protocol.
Only implement the functions from the protocol. Remove all comments.
Hi @olvrwn,
I decided to make the following changes:
File Path | Proposed Changes |
---|---|
CashBudTests/LocalPersistenceServiceMock.swift |
Modify CashBudTests/LocalPersistenceServiceMock.swift with contents: • Remove all comments from the LocalPersistenceServiceMock class.• Implement only the functions from the protocol in the LocalPersistenceServiceMock class. |
Description
This PR updates the
LocalPersistenceServiceMock
class in theCashBudTests
folder to conform to theLocalPersistenceServiceProtocol
. All required functions defined in the protocol have been implemented in theLocalPersistenceServiceMock
class.Summary of Changes
LocalPersistenceServiceProtocol
in theLocalPersistenceServiceMock
class.LocalPersistenceServiceMock
class to conform to theLocalPersistenceServiceProtocol
.Fixes #39.
🎉 Latest improvements to Sweep:
💡 To get Sweep to edit this pull request, you can: