Skip to content

Commit

Permalink
test and examples: added tenant culture
Browse files Browse the repository at this point in the history
updated version to 0.6.0-beta.10
  • Loading branch information
Jani Giannoudis committed Oct 10, 2023
1 parent cb70faf commit 82e2019
Show file tree
Hide file tree
Showing 12 changed files with 19 additions and 17 deletions.
2 changes: 1 addition & 1 deletion Commands/Release.Version.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ echo Set Payroll Set Release Version

rem --- version setup ---
:version
set version=0.5.0-beta.9
set version=0.6.0-beta.10

rem --- confirmation ---
:confirmation
Expand Down
4 changes: 2 additions & 2 deletions Examples/ActionPayroll/ActionPayroll.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="PayrollEngine.Client.Services" Version="0.6.0-beta.9" />
<PackageReference Include="PayrollEngine.Serilog" Version="0.6.0-beta.9" />
<PackageReference Include="PayrollEngine.Client.Services" Version="0.6.0-beta.10" />
<PackageReference Include="PayrollEngine.Serilog" Version="0.6.0-beta.10" />
</ItemGroup>

<ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions Examples/ExtendedPayroll/ExtendedPayroll.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="PayrollEngine.Client.Services" Version="0.6.0-beta.9" />
<PackageReference Include="PayrollEngine.Serilog" Version="0.6.0-beta.9" />
<PackageReference Include="PayrollEngine.Client.Services" Version="0.6.0-beta.10" />
<PackageReference Include="PayrollEngine.Serilog" Version="0.6.0-beta.10" />
</ItemGroup>

<ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions Examples/ReportPayroll/ReportPayroll.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="PayrollEngine.Client.Services" Version="0.6.0-beta.9" />
<PackageReference Include="PayrollEngine.Serilog" Version="0.6.0-beta.9" />
<PackageReference Include="PayrollEngine.Client.Services" Version="0.6.0-beta.10" />
<PackageReference Include="PayrollEngine.Serilog" Version="0.6.0-beta.10" />
</ItemGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion Examples/WeekSimplePayroll/Payroll.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
]
},
{
"name": "BeschäftigungEmploymentLevelsgrad",
"name": "EmploymentLevel",
"caseType": "Employee",
"fields": [
{
Expand Down
4 changes: 2 additions & 2 deletions Tests/Aggregation.Test/Payroll.pt.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"tenants": [
{
"identifier": "Aggregation.Test",
"culture": "de-CH",
"users": [
{
"identifier": "peter.schmid@foo.com",
Expand All @@ -13,8 +14,7 @@
],
"divisions": [
{
"name": "Aggregation.Division",
"culture": "de-CH"
"name": "Aggregation.Division"
}
],
"regulations": [
Expand Down
4 changes: 2 additions & 2 deletions Tests/Cancellation.Test/Payroll.pt.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"tenants": [
{
"identifier": "Cancellation.Test",
"culture": "de-CH",
"users": [
{
"identifier": "peter.schmid@foo.com",
Expand All @@ -13,8 +14,7 @@
],
"divisions": [
{
"name": "TestDivision",
"culture": "de-CH"
"name": "TestDivision"
}
],
"regulations": [
Expand Down
2 changes: 1 addition & 1 deletion Tests/CountryPayroll.Test/Test.pt.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
{
"identifier": "CountryPayroll.Test",
"created": "2019-01-01T00:00:00.0Z",
"culture": "de-CH",
"users": [
{
"identifier": "peter.schmid@foo.com",
Expand All @@ -15,7 +16,6 @@
"divisions": [
{
"name": "TestDivision",
"culture": "de-CH",
"created": "2019-01-01T00:00:00.0Z"
}
],
Expand Down
2 changes: 1 addition & 1 deletion Tests/Payrun.Test/Test.pt.json
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@
{
"identifier": "Payroll.Test",
"created": "2019-01-01T00:00:00.0Z",
"culture": "de-CH",
"users": [
{
"identifier": "peter.schmid@foo.com",
Expand All @@ -123,7 +124,6 @@
"divisions": [
{
"name": "TestDivision",
"culture": "de-CH",
"created": "2019-01-01T00:00:00.0Z"
}
],
Expand Down
4 changes: 2 additions & 2 deletions Tests/PayrunEmployee.Test/Payroll.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
{
"identifier": "Employee.Test",
"created": "2019-01-01T00:00:00.0Z",
"culture": "de-CH",
"users": [
{
"identifier": "peter.schmid@foo.com",
Expand All @@ -15,7 +16,6 @@
"divisions": [
{
"name": "TestDivision",
"culture": "de-CH",
"created": "2019-01-01T00:00:00.0Z"
}
],
Expand Down Expand Up @@ -331,7 +331,7 @@
{
"wageTypeNumber": 199,
"name": "WageCoverage",
"valueExpression": "var results = GetPeriodWageTypeResults(101, new PeriodResultQuery(1, PayrunJobStatus.Legal)); return results.Any() ? (results[0] < 3000 ? 3000-results[0] : 0) : 0",
"valueExpression": "var results = GetPeriodWageTypeResults(new WageTypePeriodResultQuery(101, 1, PayrunJobStatus.Legal)); return results.Any() ? (results[0] < 3000 ? 3000-results[0] : 0) : 0",
"created": "2019-01-01T00:00:00.0Z"
},
{
Expand Down
2 changes: 2 additions & 0 deletions Tests/PayrunEmployee.Test/Test.et.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@
"tenants": [
{
"identifier": "Employee.Test",
"updateMode": "NoUpdate",
"payrolls": [
{
"name": "Employee.Test",
"updateMode": "NoUpdate",
"cases": [
{
"userIdentifier": "peter.schmid@foo.com",
Expand Down
2 changes: 1 addition & 1 deletion Tests/RetroManualPayroll.Test/Payroll.pt.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
{
"identifier": "RetroManualPayroll",
"created": "2018-01-01T00:00:00.0Z",
"culture": "de-CH",
"users": [
{
"identifier": "peter.schmid@foo.com",
Expand All @@ -15,7 +16,6 @@
"divisions": [
{
"name": "RetroManualDivision",
"culture": "de-CH",
"created": "2018-01-01T00:00:00.0Z"
}
],
Expand Down

0 comments on commit 82e2019

Please sign in to comment.