Skip to content

Commit

Permalink
Some refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
niemyjski committed Mar 13, 2024
1 parent 34ceddc commit 45a1fdf
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
1 change: 1 addition & 0 deletions Foundatio.Minio.sln
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
.editorconfig = .editorconfig
build\common.props = build\common.props
README.md = README.md
docker-compose.yml = docker-compose.yml
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Tests", "Tests", "{CD06C207-0E34-44A3-ACD2-016EA9F80CC9}"
Expand Down
3 changes: 1 addition & 2 deletions src/Foundatio.Minio/Extensions/TaskExtensions.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
using System.Diagnostics;
using System.Diagnostics;
using System.Runtime.CompilerServices;
using System.Threading.Tasks;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;
using System.Collections.Generic;
using System.Text;

namespace Foundatio.Storage
{
Expand Down
4 changes: 3 additions & 1 deletion tests/Foundatio.Minio.Tests/Storage/MinioFileStorageTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ namespace Foundatio.Minio.Tests.Storage
{
public class MinioFileStorageTests : FileStorageTestsBase
{
private const string BUCKET_NAME = "foundatio";

public MinioFileStorageTests(ITestOutputHelper output) : base(output) { }

protected override IFileStorage GetStorage()
Expand All @@ -20,7 +22,7 @@ protected override IFileStorage GetStorage()
AccessKey = section["ACCESS_KEY_ID"],
SecretKey = section["SECRET_ACCESS_KEY"],
EndPoint = section["ENDPOINT"],
Bucket = "foundatio"
Bucket = BUCKET_NAME
};
if (String.IsNullOrEmpty(connectionStringBuilder.AccessKey) || String.IsNullOrEmpty(connectionStringBuilder.SecretKey))
return null;
Expand Down

0 comments on commit 45a1fdf

Please sign in to comment.