Clinical Sync Batch Engine: first commit
This commit is contained in:
@@ -33,7 +33,7 @@ public class PhiEncryptionTests
|
||||
using var scope = _fixture.Services.CreateScope();
|
||||
var db = scope.ServiceProvider.GetRequiredService<AppDbContext>();
|
||||
var raw = await db.Database
|
||||
.SqlQueryRaw<string>($"SELECT first_name AS \"Value\" FROM patients WHERE id = '{patientId}'")
|
||||
.SqlQuery<string>($"SELECT first_name AS \"Value\" FROM patients WHERE id = {patientId}")
|
||||
.FirstAsync();
|
||||
raw.Should().NotBe("Encrypted");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user