Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update smoke tests to use new reported file ordering #239

Merged
merged 1 commit into from
Dec 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion nuget/compatible-version/project/project.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
</PropertyGroup>

<ItemGroup>
<ProjectReference Include=".\library.csproj" />
sebasgomez238 marked this conversation as resolved.
Show resolved Hide resolved
<ProjectReference Include="..\library\library.csproj" />
</ItemGroup>

<ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions tests/smoke-nuget-central-package-management.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ output:
source: null
version: 13.0.1
dependency_files:
- /nuget/central-package-management/project.csproj
- /nuget/central-package-management/Directory.Packages.props
- /nuget/central-package-management/project.csproj
- type: create_pull_request
expect:
data:
Expand Down Expand Up @@ -72,7 +72,7 @@ output:
content_encoding: utf-8
deleted: false
directory: /nuget/central-package-management
name: Directory.Packages.props
name: Directory.Packages.props
operation: update
support_file: false
type: file
Expand Down
1 change: 0 additions & 1 deletion tests/smoke-nuget-compatible-version.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ output:
requirements: []
version: 6.10.0
dependency_files:
- /nuget/compatible-version/library/library.csproj
- /nuget/compatible-version/project/project.csproj
- type: create_pull_request
expect:
Expand Down
7 changes: 3 additions & 4 deletions tests/smoke-nuget-dirs-proj.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,8 @@ output:
source: null
version: 6.1.0
dependency_files:
- /nuget/dirs-proj/dirs.proj
- /nuget/dirs-proj/project2/project.csproj
- /nuget/dirs-proj/project1/project.csproj
- /nuget/dirs-proj/project2/project.csproj
- type: create_pull_request
expect:
data:
Expand Down Expand Up @@ -96,7 +95,7 @@ output:
content_encoding: utf-8
deleted: false
directory: /nuget/dirs-proj
name: project2/project.csproj
name: project1/project.csproj
operation: update
support_file: false
type: file
Expand All @@ -118,7 +117,7 @@ output:
content_encoding: utf-8
deleted: false
directory: /nuget/dirs-proj
name: project1/project.csproj
name: project2/project.csproj
operation: update
support_file: false
type: file
Expand Down
34 changes: 17 additions & 17 deletions tests/smoke-nuget-lockfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ output:
source: null
version: 1.0.1
dependency_files:
- /nuget/lock-file/project.csproj
- /nuget/lock-file/packages.lock.json
- /nuget/lock-file/project.csproj
- type: create_pull_request
expect:
data:
Expand All @@ -63,22 +63,6 @@ output:
version: 1.0.2
directory: /nuget/lock-file
updated-dependency-files:
- content: |-
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Newtonsoft.Json.Bson" Version="1.0.2" />
</ItemGroup>
</Project>
content_encoding: utf-8
deleted: false
directory: /nuget/lock-file
name: project.csproj
operation: update
support_file: false
type: file
- content: |-
{
"version": 1,
Expand Down Expand Up @@ -108,6 +92,22 @@ output:
operation: update
support_file: false
type: file
- content: |-
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Newtonsoft.Json.Bson" Version="1.0.2" />
</ItemGroup>
</Project>
content_encoding: utf-8
deleted: false
directory: /nuget/lock-file
name: project.csproj
operation: update
support_file: false
type: file
pr-title: Bump Newtonsoft.Json.Bson from 1.0.1 to 1.0.2 in /nuget/lock-file
pr-body: |
Bumps [Newtonsoft.Json.Bson](https://github.com/JamesNK/Newtonsoft.Json.Bson) from 1.0.1 to 1.0.2.
Expand Down
4 changes: 2 additions & 2 deletions tests/smoke-nuget-potential-downgrade.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -279,9 +279,9 @@ output:
requirements: []
version: 1.4.13
dependency_files:
- /nuget/potential-downgrade/project.csproj
- /nuget/potential-downgrade/Directory.Packages.props
- /nuget/potential-downgrade/Directory.Build.props
- /nuget/potential-downgrade/Directory.Packages.props
- /nuget/potential-downgrade/project.csproj
- type: create_pull_request
expect:
data:
Expand Down
2 changes: 1 addition & 1 deletion tests/smoke-nuget-props-and-targets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ output:
source: null
version: 6.1.0
dependency_files:
- /nuget/props-and-targets/project.csproj
- /nuget/props-and-targets/Directory.Build.props
- /nuget/props-and-targets/Directory.Build.targets
- /nuget/props-and-targets/project.csproj
- type: create_pull_request
expect:
data:
Expand Down
2 changes: 1 addition & 1 deletion tests/smoke-nuget-transitive-pinning.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ output:
requirements: []
version: 5.0.1
dependency_files:
- /nuget/transitive-pinning/project.csproj
- /nuget/transitive-pinning/Directory.Packages.props
- /nuget/transitive-pinning/project.csproj
- type: create_pull_request
expect:
data:
Expand Down
2 changes: 1 addition & 1 deletion tests/smoke-nuget-version-property.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ output:
source: null
version: 13.0.1
dependency_files:
- /nuget/version-property/project.csproj
- /nuget/version-property/Packages.props
- /nuget/version-property/project.csproj
- type: create_pull_request
expect:
data:
Expand Down
Loading