What changed, and why it matters
This commit only changes test code. It fixes a minor indentation issue and adds a test category label so that an existing test called CanUsePairing is run as part of automated browser-based (Playwright) testing. There is no change to production code, no bug fix, and no security relevance.
No security action needed. This is a routine CI/test metadata change.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff modifies BTCPayServer.Tests/BitpayTests.cs. It corrects the indentation of a [Trait(“Integration”, “Integration”)] attribute on CanThrowBitpay404Error and adds a [Trait(“Playwright”, “Playwright-2”)] attribute to the CanUsePairing test method. This causes the CanUsePairing test to be included in the Playwright-2 CI test run. No application logic is changed.
Changed components
BTCPayServer.Tests/BitpayTests.csInspect captured patch +2 / −1
diff --git a/BTCPayServer.Tests/BitpayTests.cs b/BTCPayServer.Tests/BitpayTests.cs
index 5a156c1..fb4b624 100644
--- a/BTCPayServer.Tests/BitpayTests.cs
+++ b/BTCPayServer.Tests/BitpayTests.cs
@@ -28,7 +28,7 @@ namespace BTCPayServer.Tests;
public class BitpayTests(ITestOutputHelper log) : UnitTestBase(log)
{
[Fact]
- [Trait("Integration", "Integration")]
+ [Trait("Integration", "Integration")]
public async Task CanThrowBitpay404Error()
{
using var tester = CreateServerTester();
@@ -357,6 +357,7 @@ public class BitpayTests(ITestOutputHelper log) : UnitTestBase(log)
}
[Fact]
+ [Trait("Playwright", "Playwright-2")]
public async Task CanUsePairing()
{
await using var s = CreatePlaywrightTester();
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.