From 0b3790fee3e129fa60a1aace90a5d936b03fd4f8 Mon Sep 17 00:00:00 2001 From: Youssef Victor Date: Wed, 27 Nov 2024 05:53:11 +0100 Subject: [PATCH] Use TestMethod instead of DataTestMethod --- .../PrimeService.Tests/PrimeService_IsPrimeShould.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/getting-started/unit-testing-using-mstest/PrimeService.Tests/PrimeService_IsPrimeShould.cs b/core/getting-started/unit-testing-using-mstest/PrimeService.Tests/PrimeService_IsPrimeShould.cs index 5292618182c..a320d5fbf1c 100644 --- a/core/getting-started/unit-testing-using-mstest/PrimeService.Tests/PrimeService_IsPrimeShould.cs +++ b/core/getting-started/unit-testing-using-mstest/PrimeService.Tests/PrimeService_IsPrimeShould.cs @@ -22,7 +22,7 @@ public void IsPrime_InputIs1_ReturnFalse() } #region Sample_TestCode - [DataTestMethod] + [TestMethod] [DataRow(-1)] [DataRow(0)] [DataRow(1)]