Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Public Member Functions | Protected Member Functions
FingerprintTest Class Reference
Inheritance diagram for FingerprintTest:

Public Member Functions

 testSessionIdPresent ()
 
 testBlockEmpty ()
 

Protected Member Functions

 setUp ()
 

Detailed Description

Definition at line 13 of file FingerprintTest.php.

Member Function Documentation

◆ setUp()

setUp ( )
protected

Definition at line 23 of file FingerprintTest.php.

24  {
27 
28  $this->objectManager = Bootstrap::getObjectManager();
29  }
if(defined('TESTS_MAGENTO_INSTALLATION') &&TESTS_MAGENTO_INSTALLATION==='enabled') $bootstrap
Definition: bootstrap.php:73

◆ testBlockEmpty()

testBlockEmpty ( )

Checks if block is an empty when the module is disabled.

@magentoConfigFixture current_store fraud_protection/signifyd/active 0

Definition at line 46 of file FingerprintTest.php.

47  {
48  self::assertEmpty($this->getBlockContents());
49  }

◆ testSessionIdPresent()

testSessionIdPresent ( )

Checks if session id attribute is present when the module is enabled.

@magentoConfigFixture current_store fraud_protection/signifyd/active 1

Definition at line 36 of file FingerprintTest.php.

37  {
38  self::assertContains('data-order-session-id', $this->getBlockContents());
39  }

The documentation for this class was generated from the following file: