Skip to content

webnazakazku/mango-tester-http-mocks

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mango Tester nette/http mocks

Build Status

Installation

The recommended way to install is via Composer:

composer require webnazakazku/mango-tester-http-mocks --dev
composer require dg/bypass-finals --dev

Usage

tests/config/tests.neon

extensions:
	mango.tester.httpMock: Webnazakazku\MangoTester\HttpMocks\Bridges\Infrastructure\HttpExtension

mango.tester.httpMock:
	baseUrl: 'https://test.dev'
	sessionMock: true #or false

tests/bpotstrap.php

<?php declare(strict_types = 1);


require __DIR__ . '/../vendor/autoload.php';

DG\BypassFinals::enable(); //required

$configurator = new Nette\Bootstrap\Configurator();
...

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Languages

  • PHP 96.6%
  • Makefile 3.4%