Skip to content

Commit 304a6e3

Browse files
authored
Merge pull request #59 from eunjooChoi/privacy-policy-link
노션 도메인 링크 수정으로 인해 URL string 변경
2 parents 5ebe5ba + 2815f92 commit 304a6e3

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

PlantingMind/PlantingMind/Settings/SettingsViewModel.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ class SettingsViewModel: ObservableObject {
4646

4747
func privacyPolicyURL() -> URL {
4848
if self.languageCode == "ko" {
49-
return URL(string:"https://planting-mind.notion.site/48f9b3289a5d4cd999d08955802f8d19")!
49+
return URL(string:"https://choieunjoo.notion.site/48f9b3289a5d4cd999d08955802f8d19?pvs=4")!
5050
} else {
51-
return URL(string:"https://planting-mind.notion.site/Privacy-Policy-af91fa5d528544ef9a30c1a95ec951c2?pvs=74")!
51+
return URL(string:"https://choieunjoo.notion.site/Privacy-Policy-af91fa5d528544ef9a30c1a95ec951c2?pvs=4")!
5252
}
5353
}
5454

PlantingMind/PlantingMindTests/SettingsViewModelTests.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,11 @@ final class SettingsViewModelTests: XCTestCase {
6060

6161
func test_privacy_policy() throws {
6262
let viewModel = SettingsViewModel(context: context, languageCode: "ko")
63-
let expectedURL = try XCTUnwrap(URL(string: "https://planting-mind.notion.site/48f9b3289a5d4cd999d08955802f8d19"))
63+
let expectedURL = try XCTUnwrap(URL(string: "https://choieunjoo.notion.site/48f9b3289a5d4cd999d08955802f8d19?pvs=4"))
6464
XCTAssertEqual(viewModel.privacyPolicyURL(), expectedURL)
6565

6666
let viewModel2 = SettingsViewModel(context: context, languageCode: "en")
67-
let expectedURL2 = try XCTUnwrap(URL(string: "https://planting-mind.notion.site/Privacy-Policy-af91fa5d528544ef9a30c1a95ec951c2?pvs=74"))
67+
let expectedURL2 = try XCTUnwrap(URL(string: "https://choieunjoo.notion.site/Privacy-Policy-af91fa5d528544ef9a30c1a95ec951c2?pvs=4"))
6868
XCTAssertEqual(viewModel2.privacyPolicyURL(), expectedURL2)
6969
}
7070

0 commit comments

Comments
 (0)