Skip to content

Commit 65660a4

Browse files
Gengar-iNattfarinn
authored andcommitted
Changed Contnet type to content type
1 parent 6eab61f commit 65660a4

10 files changed

+14
-14
lines changed

features/ContentEdit/create_without_draft.feature

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Feature: Edit content
55

66
Scenario: Create a folder without a draft
77
Given that I have permission to create folders
8-
And there is a Content Type "folder" with the id "1"
8+
And there is a content type "folder" with the id "1"
99
#And there is a Location with the id "2"
1010
When I go to "content/create/nodraft/folder/eng-GB/2"
1111
Then I should see a folder content edit form
@@ -15,7 +15,7 @@ Scenario: Create a folder without a draft
1515

1616
@javascript
1717
Scenario: Content validation errors are reported back
18-
Given that there is a Content Type with any kind of constraints on a Field Definition
18+
Given that there is a content type with any kind of constraints on a Field Definition
1919
And that I have permission to create content of this type
2020
When I go to the content creation page for this type
2121
And I fill in the constrained field with an invalid value

features/FieldTypeForm/checkbox_fieldtype_edit_form.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Feature: Checkbox field value edit form
44
I want the Checkbox field form to implement the FieldType's behaviour
55

66
Background:
7-
Given a Content Type with an ezboolean field definition
7+
Given a content type with an ezboolean field definition
88

99
Scenario: The attributes of the field have a form representation
1010
When I view the edit form for this field

features/FieldTypeForm/selection_fieldtype_edit_form.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Feature: Selection field value edit form
44
I want the Selection field form to implement the FieldType's behaviour
55

66
Background:
7-
Given a Content Type with an ezselection field definition
7+
Given a content type with an ezselection field definition
88

99
Scenario: The attributes of the field have a form representation
1010
Given I view the edit form for this field

features/FieldTypeForm/textline_fieldtype_edit_form.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Feature: TextLine field value edit form
44
I want the ezuser field form to implement the FieldType's behaviour
55

66
Background:
7-
Given a Content Type with a textline field definition
7+
Given a content type with a textline field definition
88

99
Scenario: The attributes of a textline field have a form representation
1010
When I view the edit form for this field

features/FieldTypeForm/user_fieldtype_edit_form.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Feature: User field value edit form
44
I want the ezuser field form to implement the FieldType's behaviour
55

66
Background:
7-
Given a Content Type with a user field definition
7+
Given a content type with a user field definition
88

99
Scenario: The attributes of a user field have a form representation
1010
When I view the edit user form for this field

src/lib/Behat/Context/ContentEditContext.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ public function thereIsARelevantErrorMessageLinkedToTheInvalidField()
163163
}
164164

165165
/**
166-
* @Given /^that there is a Content Type with any kind of constraints on a Field Definition$/
166+
* @Given /^that there is a content type with any kind of constraints on a Field Definition$/
167167
*/
168168
public function thereIsAContentTypeWithAnyKindOfConstraintsOnAFieldDefinition()
169169
{

src/lib/Behat/Context/ContentTypeContext.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public function __construct(PermissionResolver $permissionResolver, ContentTypeS
4848
}
4949

5050
/**
51-
* @Given /^there is a Content Type "([^"]*)" with the id "([^"]*)"$/
51+
* @Given /^there is a content type "([^"]*)" with the id "([^"]*)"$/
5252
*/
5353
public function thereIsAContentTypeWithId($contentTypeIdentifier, $id)
5454
{
@@ -61,7 +61,7 @@ public function thereIsAContentTypeWithId($contentTypeIdentifier, $id)
6161
}
6262

6363
/**
64-
* @Given I remove :fieldIdentifier field from :contentTypeIdentifier Content Type
64+
* @Given I remove :fieldIdentifier field from :contentTypeIdentifier content type
6565
*/
6666
public function iRemoveFieldFromContentType($fieldIdentifier, $contentTypeIdentifier)
6767
{
@@ -94,7 +94,7 @@ public function addFieldsTo($contentTypeIdentifier, array $fieldDefinitions)
9494
public function getCurrentContentType()
9595
{
9696
if ($this->currentContentType === null) {
97-
throw new Exception('No current Content type has been defined in the context');
97+
throw new Exception('No current content type has been defined in the context');
9898
}
9999

100100
return $this->currentContentType;

src/lib/Behat/Context/FieldTypeFormContext.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ public function gatherContexts(BeforeScenarioScope $scope)
3737
}
3838

3939
/**
40-
* @Given a Content Type with a(n) :fieldTypeIdentifier field definition
41-
* @Given a Content Type :contentTypeName with a(n) :fieldTypeIdentifier field definition
40+
* @Given a content type with a(n) :fieldTypeIdentifier field definition
41+
* @Given a content type :contentTypeName with a(n) :fieldTypeIdentifier field definition
4242
*/
4343
public function aContentTypeWithAGivenFieldDefinition($fieldTypeIdentifier, $contentTypeName = null)
4444
{

src/lib/Behat/Context/UserRegistrationContext.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ public function iCanSeeTheRegistrationForm()
204204
}
205205

206206
/**
207-
* @Given /^it matches the structure of the configured registration user Content Type$/
207+
* @Given /^it matches the structure of the configured registration user content type$/
208208
*/
209209
public function itMatchesTheStructureOfTheConfiguredRegistrationUserContentType()
210210
{

src/lib/Content/View/Builder/ContentCreateViewBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ private function resolveContentType(array $parameters, array $languageCodes): Co
122122

123123
throw new InvalidArgumentException(
124124
'ContentType',
125-
'No Content type could be loaded from the parameters'
125+
'No content type could be loaded from the parameters'
126126
);
127127
}
128128

0 commit comments

Comments
 (0)