From 0075dc5e8fac42bd726385d4346e6c7915d08727 Mon Sep 17 00:00:00 2001 From: Youssef Victor Date: Wed, 27 Nov 2024 16:13:07 +0100 Subject: [PATCH] Use TestMethod instead of DataTestMethod (#7003) --- .../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)]