Skip to content

Commit 48fbc5c

Browse files
committed
tests(Spanner): Move MangedSessionOptionsTests to Spanner.Data.Tests.
1 parent 70d8361 commit 48fbc5c

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

apis/Google.Cloud.Spanner.V1/Google.Cloud.Spanner.V1.Tests/ManagedSessionOptionsTests.cs renamed to apis/Google.Cloud.Spanner.Data/Google.Cloud.Spanner.Data.Tests/V1/ManagedSessionOptionsTests.cs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,18 @@
1313
// limitations under the License.
1414

1515
using Google.Cloud.Spanner.Common.V1;
16-
using NSubstitute;
16+
using Google.Cloud.Spanner.V1;
17+
using Google.Cloud.Spanner.V1.Internal.Logging;
18+
using Google.Cloud.Spanner.V1.Tests;
1719
using System;
1820
using Xunit;
1921

20-
namespace Google.Cloud.Spanner.V1.Tests;
22+
namespace Google.Cloud.Spanner.Data.Tests;
2123

2224
public class ManagedSessionOptionsTests
2325
{
2426
private static readonly DatabaseName SampleDatabaseName = new DatabaseName("project", "instance", "database");
25-
private readonly SpannerClient _mockClient = Substitute.For<SpannerClient>();
27+
private readonly SpannerClient _mockClient = SpannerClientHelpers.CreateMockClient(Logger.DefaultLogger);
2628

2729
[Fact]
2830
public void Create_ValidatesParameters()

0 commit comments

Comments
 (0)