Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
TMS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CC-IN2P3 Applications team
TMS
Commits
eb3f78b4
Commit
eb3f78b4
authored
1 year ago
by
ZZZ[GONE] PERRIER Guillaume
Browse files
Options
Downloads
Patches
Plain Diff
[PHP-UNIT] Try fixing test failure 'The current node list is empty' (v1.17).
parent
07593a11
No related branches found
Branches containing commit
No related tags found
1 merge request
!6
[PHP-UNIT] Complete performing CI test within the container and use it for...
Pipeline
#233446
passed
1 year ago
Stage: php
Stage: nginx
Stage: deploy
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+1
-1
1 addition, 1 deletion
.gitlab-ci.yml
tms/tests/Controller/DefaultControllerTest.php
+1
-1
1 addition, 1 deletion
tms/tests/Controller/DefaultControllerTest.php
with
2 additions
and
2 deletions
.gitlab-ci.yml
+
1
−
1
View file @
eb3f78b4
...
...
@@ -28,7 +28,7 @@ php-image-build:
#- docker cp phpunit.xml "$IMAGE_PHP":/var/www/tms/phpunit.xml
#- docker exec -v phpunit_volume sh -c "cd /var/www/tms/ ; vendor/bin/phpunit --configuration phpunit.xml"
-
docker exec phpunit sh -c "cd /var/www/tms/ ; vendor/bin/phpunit --configuration phpunit.xml"
-
docker exec
-it
phpunit rm /var/www/tms/phpunit.xml
-
docker exec phpunit rm /var/www/tms/phpunit.xml
-
docker cp -a $(docker create "$IMAGE_PHP"):/var/www/tms/. php-build
-
docker push "$IMAGE_PHP"
artifacts
:
...
...
This diff is collapsed.
Click to expand it.
tms/tests/Controller/DefaultControllerTest.php
+
1
−
1
View file @
eb3f78b4
...
...
@@ -16,7 +16,7 @@ class DefaultControllerTest extends WebTestCase
{
$client
=
static
::
createClient
([],
[
'HTTPS'
=>
true
]);
$crawler
=
$client
->
request
(
'GET'
,
'/'
);
dd
(
$crawler
);
//======================== TAPES =========================
$tapesCard
=
$crawler
->
filter
(
'h2.card-title'
)
->
eq
(
0
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment