Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
phd5-app
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dmstr
phd5-app
Commits
7c904cda
Commit
7c904cda
authored
Feb 28, 2024
by
Tobias Munk
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/php-8.2' of git.hrzg.de:dmstr/phd5-app into feature/php-8.2
parents
53c97f28
f2be2ef9
Pipeline
#84213
failed with stage
in 52 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
8 deletions
+8
-8
common.php
config/common.php
+3
-3
LanguagesEnCest.php
tests/codeception/e2e/app/en/LanguagesEnCest.php
+1
-1
SignupCest.php
tests/codeception/e2e/app/en/SignupCest.php
+1
-1
UserCreateCest.php
tests/codeception/e2e/extensions/UserCreateCest.php
+3
-3
No files found.
config/common.php
View file @
7c904cda
...
...
@@ -165,8 +165,8 @@ $common = [
'backend.browserSupport'
=>
[
'Chrome'
=>
87
,
'Edge'
=>
false
,
'Safari'
=>
false
,
'MobileSafari'
=>
false
,
'Safari'
=>
14
,
'MobileSafari'
=>
14
,
'Firefox'
=>
88
,
'Opera'
=>
false
,
'Vivaldi'
=>
false
,
...
...
@@ -286,7 +286,7 @@ $common = [
'ssl'
=>
getenv
(
'FTP_BUCKET_SSL'
)
?:
0
,
'passive'
=>
1
,
'timeout'
=>
10
,
'transferMode'
=>
FTP_BINARY
,
'transferMode'
=>
defined
(
"FTP_BINARY"
)
?
FTP_BINARY
:
null
,
'enableTimestampsOnUnixListings'
=>
true
],
'i18n'
=>
[
...
...
tests/codeception/e2e/app/en/LanguagesEnCest.php
View file @
7c904cda
...
...
@@ -23,6 +23,6 @@ class LanguagesEnCest
$I
->
seeElement
(
'.site-error'
);
$I
->
amOnPage
(
'/en-us'
);
$I
->
see
(
'Not Found
'
);
$I
->
see
Element
(
'.site-error
'
);
}
}
tests/codeception/e2e/app/en/SignupCest.php
View file @
7c904cda
...
...
@@ -24,7 +24,7 @@ class SignupCest
$I
->
amOnPage
(
'/user/login'
);
$I
->
dontSeeLink
(
"Don't have an account? Sign up!"
,
'/en/user/register'
);
$I
->
amOnPage
(
'/user/register'
);
$I
->
see
(
'Not Found (#404)
'
);
$I
->
see
Element
(
'.site-error
'
);
}
}
}
tests/codeception/e2e/extensions/UserCreateCest.php
View file @
7c904cda
...
...
@@ -12,7 +12,7 @@ class UserCreateCest
public
function
tryToTest
(
E2eTester
$I
)
{
$faker
=
Factory
::
create
();
$username
=
$faker
->
userName
;
$username
=
$faker
->
userName
()
;
$I
->
wantTo
(
'ensure that User module works'
);
...
...
@@ -22,9 +22,9 @@ class UserCreateCest
$I
->
amGoingTo
(
'try to view and create snippets'
);
$I
->
amOnPage
(
'/user/admin/create'
);
$I
->
fillField
(
'#user-email'
,
$faker
->
email
);
$I
->
fillField
(
'#user-email'
,
$faker
->
email
()
);
$I
->
fillField
(
'#user-username'
,
$username
);
$I
->
fillField
(
'#user-password'
,
$faker
->
password
);
$I
->
fillField
(
'#user-password'
,
$faker
->
password
()
);
$I
->
click
(
'button[type="submit"]'
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment