Update app version to 4.2.1 in frontend and backend tests for consistency

This commit is contained in:
Sudo-Ivan
2026-03-06 01:25:34 -06:00
parent 0500c4df15
commit 56d219df61
3 changed files with 11 additions and 11 deletions
+3 -3
View File
@@ -94,8 +94,8 @@ async def test_app_status_endpoints(mock_rns_minimal, temp_dir):
app_instance.config.set("tutorial_seen", True)
assert app_instance.config.get("tutorial_seen") == "true"
app_instance.config.set("changelog_seen_version", "4.2.0")
assert app_instance.config.get("changelog_seen_version") == "4.2.0"
app_instance.config.set("changelog_seen_version", "4.2.1")
assert app_instance.config.get("changelog_seen_version") == "4.2.1"
# Test app_info returns these values
with ExitStack() as info_stack:
@@ -111,4 +111,4 @@ async def test_app_status_endpoints(mock_rns_minimal, temp_dir):
assert val == "true"
val = app_instance.config.get("changelog_seen_version")
assert val == "4.2.0"
assert val == "4.2.1"
+5 -5
View File
@@ -62,9 +62,9 @@ describe("App.vue Modals", () => {
return Promise.resolve({
data: {
app_info: {
version: "4.2.0",
version: "4.2.1",
tutorial_seen: true,
changelog_seen_version: "4.2.0",
changelog_seen_version: "4.2.1",
},
},
});
@@ -94,7 +94,7 @@ describe("App.vue Modals", () => {
return Promise.resolve({
data: {
app_info: {
version: "4.2.0",
version: "4.2.1",
tutorial_seen: false,
changelog_seen_version: "0.0.0",
},
@@ -153,7 +153,7 @@ describe("App.vue Modals", () => {
return Promise.resolve({
data: {
app_info: {
version: "4.2.0",
version: "4.2.1",
tutorial_seen: true,
changelog_seen_version: "3.9.0",
},
@@ -161,7 +161,7 @@ describe("App.vue Modals", () => {
});
}
if (url === "/api/v1/app/changelog") {
return Promise.resolve({ data: { html: "<h1>New Features</h1>", version: "4.2.0" } });
return Promise.resolve({ data: { html: "<h1>New Features</h1>", version: "4.2.1" } });
}
if (url === "/api/v1/config") return Promise.resolve({ data: { config: { theme: "dark" } } });
if (url === "/api/v1/auth/status") return Promise.resolve({ data: { auth_enabled: false } });
+3 -3
View File
@@ -78,7 +78,7 @@ describe("ChangelogModal.vue", () => {
axiosMock.get.mockResolvedValue({
data: {
html: "<h1>Test</h1>",
version: "4.2.0",
version: "4.2.1",
},
});
@@ -95,7 +95,7 @@ describe("ChangelogModal.vue", () => {
axiosMock.get.mockResolvedValue({
data: {
html: "<h1>Test</h1>",
version: "4.2.0",
version: "4.2.1",
},
});
@@ -114,7 +114,7 @@ describe("ChangelogModal.vue", () => {
axiosMock.get.mockResolvedValue({
data: {
html: "<h1>Test</h1>",
version: "4.2.0",
version: "4.2.1",
},
});