Align matcher tests with substring matching
This commit is contained in:
@@ -338,18 +338,21 @@ class ProjectTicketControllerTest extends TestCase
|
||||
->component('projects/Ticket')
|
||||
->where('suggestedBranchName', 'core-1-branch-detail-test')
|
||||
->where('repositoryBranches.0.repository_connection.repository_full_name', 'core-team/kanbangit')
|
||||
->has('repositoryBranches.0.branches', 2)
|
||||
->has('repositoryBranches.0.branches', 3)
|
||||
->where('repositoryBranches.0.branches.0.name', 'CORE-1-login-form')
|
||||
->where('repositoryBranches.0.branches.1.name', 'CORE-1/fix-oauth')
|
||||
->where('repositoryBranches.0.branches.2.name', 'CORE-10-should-not-match')
|
||||
->where('repositoryBranches.1.repository_connection.repository_full_name', 'other-team/mobile')
|
||||
->where('repositoryBranches.1.repository_connection.has_personal_access', false)
|
||||
->where('repositoryBranches.1.branches', [])
|
||||
->has('repositoryPullRequests.0.pull_requests', 2)
|
||||
->has('repositoryPullRequests.0.pull_requests', 3)
|
||||
->where('repositoryPullRequests.0.pull_requests.0.number', '42')
|
||||
->where('repositoryPullRequests.0.pull_requests.0.title', 'Add login form')
|
||||
->where('repositoryPullRequests.0.pull_requests.0.status', 'open')
|
||||
->where('repositoryPullRequests.0.pull_requests.1.number', '43')
|
||||
->where('repositoryPullRequests.0.pull_requests.1.status', 'merged')
|
||||
->where('repositoryPullRequests.0.pull_requests.2.number', '99')
|
||||
->where('repositoryPullRequests.0.pull_requests.2.status', 'open')
|
||||
->where('repositoryPullRequests.1.repository_connection.repository_full_name', 'other-team/mobile')
|
||||
->where('repositoryPullRequests.1.repository_connection.has_personal_access', false)
|
||||
->where('repositoryPullRequests.1.pull_requests', []),
|
||||
|
||||
Reference in New Issue
Block a user