Skip to content

Commit c3d8d4d

Browse files
committed
CQ - Members not accessing instance data can be marked as static
1 parent 1db86fc commit c3d8d4d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

QueryDB.Core.Tests/TestBase.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public TestBase()
3434
PostgreSQLConnectionString = _configuration["PostgreSQLConnection"];
3535
}
3636

37-
protected string ConvertToUTCInUSFormat(string dateString)
37+
protected static string ConvertToUTCInUSFormat(string dateString)
3838
{
3939
DateTimeOffset date;
4040
string[] formats = {
@@ -61,7 +61,7 @@ protected string ConvertToUTCInUSFormat(string dateString)
6161
}
6262
}
6363

64-
protected string ConvertToUSFormat(string dateString)
64+
protected static string ConvertToUSFormat(string dateString)
6565
{
6666
DateTime date;
6767
string[] formats = {
@@ -94,7 +94,7 @@ protected string ConvertToUSFormat(string dateString)
9494
}
9595
}
9696

97-
protected string GetBase64Content(string filePath)
97+
protected static string GetBase64Content(string filePath)
9898
{
9999
if (!File.Exists(filePath))
100100
throw new FileNotFoundException("File not found - '" + filePath + "'.");

0 commit comments

Comments
 (0)