Skip to content

Commit

Permalink
Merge pull request #39 from openeuropa/OEL-617
Browse files Browse the repository at this point in the history
OEL-617: Remove helper hard dependencies and behat
  • Loading branch information
drishu authored Oct 26, 2021
2 parents 2aec087 + c56336c commit 6480331
Show file tree
Hide file tree
Showing 9 changed files with 1 addition and 71 deletions.
9 changes: 0 additions & 9 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,15 +84,6 @@ pipeline:
event:
exclude: tag

behat:
group: test
image: registry.fpfis.eu/fpfis/httpd-php:${PHP_VERSION}-ci
commands:
- ./vendor/bin/behat --strict
when:
event:
exclude: tag

before-release:
image: registry.fpfis.eu/fpfis/httpd-php:${PHP_VERSION}-ci
commands:
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
.DS_Store
.idea
behat.yml
build
composer.lock
docker-compose.*.yml
Expand Down
8 changes: 1 addition & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ To set up the project run:

A post command hook (`drupal:site-setup`) is triggered automatically after `composer install`.
It will make sure that the necessary symlinks are properly setup in the development site.
It will also perform token substitution in development configuration files such as `behat.yml.dist`.
It will also perform token substitution in development configuration files such as `phpunit.xml.dist`.

The development site web root should be available in the `build` directory.

Expand Down Expand Up @@ -129,9 +129,3 @@ To run the phpunit tests:
```bash
docker-compose exec web ./vendor/bin/phpunit
```

To run the behat tests:

```bash
docker-compose exec web ./vendor/bin/behat
```
25 changes: 0 additions & 25 deletions behat.yml.dist

This file was deleted.

4 changes: 0 additions & 4 deletions modules/oe_whitelabel_helper/oe_whitelabel_helper.info.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,3 @@ type: module
description: OpenEuropa Whitelabel Theme helpers and tools.
package: OpenEuropa Whitelabel Theme
core_version_requirement: ^8.9 || ^9.1
dependencies:
- openeuropa:oe_authentication
- openeuropa:oe_multilingual
- openeuropa:oe_corporate_blocks
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
parameters:
# oe_whitelabel_helper.twig_loader.namespaces: ['bcl-twig', 'bcl']
# oe_whitelabel_helper.twig_loader.theme: 'oe_whitelabel'
# oe_whitelabel_helper.twig_loader.directory: 'components'
services:
oe_whitelabel_helper.twig_extension.twig_extension:
class: Drupal\oe_whitelabel_helper\TwigExtension\TwigExtension
Expand Down
3 changes: 0 additions & 3 deletions runner.yml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,8 @@ commands:
- { task: "run", command: "drupal:drush-setup" }
- { task: "run", command: "drupal:settings-setup" }
- { task: "run", command: "setup:phpunit" }
- { task: "run", command: "setup:behat" }
setup:phpunit:
- { task: "process", source: "phpunit.xml.dist", destination: "phpunit.xml" }
setup:behat:
- { task: "process", source: "behat.yml.dist", destination: "behat.yml" }

release:
tasks:
Expand Down
13 changes: 0 additions & 13 deletions tests/features/bootstrap/DrupalContext.php

This file was deleted.

5 changes: 0 additions & 5 deletions tests/features/default.feature

This file was deleted.

0 comments on commit 6480331

Please sign in to comment.