This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$index = \Drupal\search_api\Entity\Index::load('index_name'); | |
foreach ($index->getDatasources() as $id => $datasource) { | |
$index->trackItemsInserted($id, $datasource->getItemIds()); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Behat\Mink\Driver\Selenium2Driver; | |
use Behat\Behat\Hook\Scope\AfterStepScope; | |
use Behat\Mink\Mink; | |
use Behat\MinkExtension\Context\MinkAwareContext; | |
/** | |
* Class FailureContext. | |
* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant.configure(2) do |config| | |
config.hostmanager.enabled = true | |
config.hostmanager.manage_host = true | |
config.hostmanager.manage_guest = true | |
config.vm.define 'mywebsite' do |box| | |
box.vm.box = "kerasai/lamp" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Behat\Behat\Context\Context; | |
use Behat\Behat\Context\SnippetAcceptingContext; | |
/** | |
* Defines application features from the specific context. | |
*/ | |
class FeatureContext implements Context, SnippetAcceptingContext { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Feature: As a user of the drupal-extension and drupal driver | |
I want to properly set term references on content | |
So that I may reliably conduct tests | |
@api | |
Scenario: Duplicate terms in different vocabs | |
Given "category" terms: | |
| name | | |
| A | | |
| B | |
NewerOlder