From 714db50e4f278758a2d6637635e3e73fc17db67c Mon Sep 17 00:00:00 2001 From: Claas Augner Date: Tue, 6 Jul 2021 16:28:37 +0200 Subject: [PATCH] Reword acceptance tests --- tests/acceptance/AbortIf.feature | 4 ++-- tests/acceptance/CollectionTypes.feature | 2 +- tests/acceptance/Container.feature | 2 +- tests/acceptance/DBFacadeAlias.feature | 2 +- tests/acceptance/DatabaseBuilderTypes.feature | 2 +- tests/acceptance/EloquentBuilderTypes.feature | 2 +- tests/acceptance/EloquentCollectionTypes.feature | 2 +- tests/acceptance/EloquentModelTypes.feature | 4 ++-- tests/acceptance/EloquentRelationTypes.feature | 2 +- tests/acceptance/FactoryTypes.feature | 4 ++-- tests/acceptance/HttpResourceTypes.feature | 2 +- tests/acceptance/PathHelpers.feature | 2 +- tests/acceptance/RedirectReturnType.feature | 2 +- tests/acceptance/RequestTypes.feature | 4 ++-- tests/acceptance/ResponseReturnType.feature | 6 +++--- tests/acceptance/TaintAnalysis.feature | 2 +- tests/acceptance/UrlReturnType.feature | 2 +- 17 files changed, 23 insertions(+), 23 deletions(-) diff --git a/tests/acceptance/AbortIf.feature b/tests/acceptance/AbortIf.feature index 6e20834..1464f32 100644 --- a/tests/acceptance/AbortIf.feature +++ b/tests/acceptance/AbortIf.feature @@ -1,5 +1,5 @@ -Feature: abort_if - abort_if asserts not null +Feature: abort_if() + The global abort_if helper is supported Background: Given I have the following config diff --git a/tests/acceptance/CollectionTypes.feature b/tests/acceptance/CollectionTypes.feature index e67e7e1..89f46f7 100644 --- a/tests/acceptance/CollectionTypes.feature +++ b/tests/acceptance/CollectionTypes.feature @@ -1,4 +1,4 @@ -Feature: collection types +Feature: Collection types Illuminate\Support\Collection has type support Background: diff --git a/tests/acceptance/Container.feature b/tests/acceptance/Container.feature index 6800e77..9dc33d8 100644 --- a/tests/acceptance/Container.feature +++ b/tests/acceptance/Container.feature @@ -1,5 +1,5 @@ Feature: Container - The laravel container can be resolved, and it has types + The Laravel container can be resolved, and it has types Background: Given I have the following config diff --git a/tests/acceptance/DBFacadeAlias.feature b/tests/acceptance/DBFacadeAlias.feature index 47a159e..56e7c98 100644 --- a/tests/acceptance/DBFacadeAlias.feature +++ b/tests/acceptance/DBFacadeAlias.feature @@ -1,5 +1,5 @@ Feature: DB facade alias - Want to check that the alias of the DB facade works properly + The DB facade is supported Background: Given I have the following config diff --git a/tests/acceptance/DatabaseBuilderTypes.feature b/tests/acceptance/DatabaseBuilderTypes.feature index 5f24ac0..cfe66c6 100644 --- a/tests/acceptance/DatabaseBuilderTypes.feature +++ b/tests/acceptance/DatabaseBuilderTypes.feature @@ -1,4 +1,4 @@ -Feature: Database Builder Types +Feature: Database Builder types Illuminate\Database\Builder has type support Background: diff --git a/tests/acceptance/EloquentBuilderTypes.feature b/tests/acceptance/EloquentBuilderTypes.feature index 0da9f66..3eedf72 100644 --- a/tests/acceptance/EloquentBuilderTypes.feature +++ b/tests/acceptance/EloquentBuilderTypes.feature @@ -1,4 +1,4 @@ -Feature: Eloquent Builder Types +Feature: Eloquent Builder types Illuminate\Database\Eloquent\Builder has type support Background: diff --git a/tests/acceptance/EloquentCollectionTypes.feature b/tests/acceptance/EloquentCollectionTypes.feature index 3bb1ce3..99e5b2c 100644 --- a/tests/acceptance/EloquentCollectionTypes.feature +++ b/tests/acceptance/EloquentCollectionTypes.feature @@ -1,4 +1,4 @@ -Feature: Eloquent Collection Types +Feature: Eloquent Collection types Illuminate\Database\Eloquent\Collection has type support Background: diff --git a/tests/acceptance/EloquentModelTypes.feature b/tests/acceptance/EloquentModelTypes.feature index cebe928..5ec2c60 100644 --- a/tests/acceptance/EloquentModelTypes.feature +++ b/tests/acceptance/EloquentModelTypes.feature @@ -1,5 +1,5 @@ -Feature: Eloquent Relation Types - Illuminate\Database\Eloquent\Relations have type support +Feature: Eloquent Model types + Illuminate\Database\Eloquent\Model has type support Background: Given I have the following config diff --git a/tests/acceptance/EloquentRelationTypes.feature b/tests/acceptance/EloquentRelationTypes.feature index 13c8591..97cf047 100644 --- a/tests/acceptance/EloquentRelationTypes.feature +++ b/tests/acceptance/EloquentRelationTypes.feature @@ -1,4 +1,4 @@ -Feature: Eloquent Relation Types +Feature: Eloquent Relation types Illuminate\Database\Eloquent\Relations have type support Background: diff --git a/tests/acceptance/FactoryTypes.feature b/tests/acceptance/FactoryTypes.feature index 5c8750e..1e0d0d4 100644 --- a/tests/acceptance/FactoryTypes.feature +++ b/tests/acceptance/FactoryTypes.feature @@ -1,5 +1,5 @@ -Feature: Factory Types - Model factories have type support +Feature: factory() + The global factory function has type support Background: Given I have the following config diff --git a/tests/acceptance/HttpResourceTypes.feature b/tests/acceptance/HttpResourceTypes.feature index e3b5c84..ef0f73d 100644 --- a/tests/acceptance/HttpResourceTypes.feature +++ b/tests/acceptance/HttpResourceTypes.feature @@ -1,4 +1,4 @@ -Feature: Http Resource Types +Feature: Http Resource types Illuminate\Http\Resources have type support Background: diff --git a/tests/acceptance/PathHelpers.feature b/tests/acceptance/PathHelpers.feature index 015ebab..87ee6a1 100644 --- a/tests/acceptance/PathHelpers.feature +++ b/tests/acceptance/PathHelpers.feature @@ -1,4 +1,4 @@ -Feature: path helpers +Feature: Path helpers The global path helpers will return the correct path Background: diff --git a/tests/acceptance/RedirectReturnType.feature b/tests/acceptance/RedirectReturnType.feature index 91d2c01..96eda36 100644 --- a/tests/acceptance/RedirectReturnType.feature +++ b/tests/acceptance/RedirectReturnType.feature @@ -1,4 +1,4 @@ -Feature: redirect +Feature: redirect() The global redirect helper will return the correct type depending on args Background: diff --git a/tests/acceptance/RequestTypes.feature b/tests/acceptance/RequestTypes.feature index eb1da74..0451d1f 100644 --- a/tests/acceptance/RequestTypes.feature +++ b/tests/acceptance/RequestTypes.feature @@ -1,5 +1,5 @@ -Feature: redirect - The global redirect helper will return the correct type depending on args +Feature: Request types + \Illuminate\Http\Request has type support Background: Given I have the following config diff --git a/tests/acceptance/ResponseReturnType.feature b/tests/acceptance/ResponseReturnType.feature index 65cd15a..36319cc 100644 --- a/tests/acceptance/ResponseReturnType.feature +++ b/tests/acceptance/ResponseReturnType.feature @@ -1,5 +1,5 @@ -Feature: redirect - The global redirect helper will return the correct type depending on args +Feature: response() + The global response helper will return the correct type depending on args Background: Given I have the following config @@ -40,4 +40,4 @@ Feature: redirect } """ When I run Psalm - Then I see no errors \ No newline at end of file + Then I see no errors diff --git a/tests/acceptance/TaintAnalysis.feature b/tests/acceptance/TaintAnalysis.feature index 09bc937..344dc01 100644 --- a/tests/acceptance/TaintAnalysis.feature +++ b/tests/acceptance/TaintAnalysis.feature @@ -1,4 +1,4 @@ -Feature: taint +Feature: Taint Analysis Want to check that taint analysis works properly Background: diff --git a/tests/acceptance/UrlReturnType.feature b/tests/acceptance/UrlReturnType.feature index 61330f6..8ed590b 100644 --- a/tests/acceptance/UrlReturnType.feature +++ b/tests/acceptance/UrlReturnType.feature @@ -1,4 +1,4 @@ -Feature: url +Feature: url() The global url helper will return the correct type depending on args Background: