Skip to content

Commit

Permalink
Remove info from tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffrymorris committed Jan 24, 2025
1 parent 98adb4d commit 2d97402
Showing 1 changed file with 3 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ public async Task Test()
});

services.AddCouchbase<CouchbaseFixture.TravelSampleDbContext>(new ClusterOptions()
.WithConnectionString("couchbases://cb.bw2lk0wtuykovocq.cloud.couchbase.com")
.WithCredentials("Pfftpfft", "!Fannykat2")
.ApplyProfile("wan-development"),
.WithConnectionString("couchbase://localhost")
.WithCredentials("Administrator", "password")
.WithLogging(_loggerFactory),
configuration =>
{
configuration.Bucket = "travel-sample";
Expand Down Expand Up @@ -102,16 +102,4 @@ public async Task Test()
Assert.Single(blogs);
Assert.Single(airlines);
}

[Fact]
public async Task RealityCheck()
{
var options = new ClusterOptions()
.WithConnectionString("couchbase://localhost")
.WithCredentials("Administrator", "password")
.WithLogging(_loggerFactory);

var cluster = await Cluster.ConnectAsync(options);
var result = await cluster.QueryAsync<dynamic>("SELECT 1;");
}
}

0 comments on commit 2d97402

Please sign in to comment.