fix(about): copyright carries the year — © 2026 Llama Chile Shop
Derived from the clock rather than a literal, so a build shipped next year does not display a stale date. The About test asserts the rendered string, year included.
This commit is contained in:
@@ -117,7 +117,7 @@ public sealed class AboutHubTests
|
||||
Assert.Equal(Visibility.Visible, upgradeBlock!.Visibility);
|
||||
|
||||
var copyright = FindVisualChildByName<TextBlock>(window, "AboutCopyright");
|
||||
Assert.Equal("© Llama Chile Shop", copyright!.Text);
|
||||
Assert.Equal($"© {DateTime.Now.Year} Llama Chile Shop", copyright!.Text);
|
||||
Assert.DoesNotContain("Made by gramps", TextOf(window));
|
||||
|
||||
// A paying customer is never sold to.
|
||||
|
||||
Reference in New Issue
Block a user