Skip to content

Commit b405662

Browse files
authored
PS integration test add ISO 8601 format for datetime type (Azure#582)
* add ISO 8601 format for datetime type
1 parent 1afed76 commit b405662

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/Integration/SqlOutputBindingIntegrationTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ public void AddProductArrayTest(SupportedLanguages lang)
110110
/// <param name="lang">The language to run the test against</param>
111111
[Theory]
112112
[SqlInlineData()]
113-
[UnsupportedLanguages(SupportedLanguages.Java, SupportedLanguages.PowerShell)]
113+
[UnsupportedLanguages(SupportedLanguages.Java)]
114114
public void AddProductColumnTypesTest(SupportedLanguages lang)
115115
{
116116
this.StartFunctionHost(nameof(AddProductColumnTypes), lang, true);

test/Integration/test-powershell/AddProductColumnTypes/run.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Write-Host "PowerShell function with SQL Output Binding processed a request."
1111
# which have a property matching each of the columns in the table to upsert to.
1212
$req_query = @{
1313
ProductId=$Request.QUERY.productId;
14-
Datetime=Get-Date -AsUTC;
14+
Datetime=Get-Date -AsUTC -format s;
1515
Datetime2=Get-Date -AsUTC;
1616
};
1717

0 commit comments

Comments
 (0)