PHP Class PUGX\StatsBundle\Tests\FunctionalControllerTest

Inheritance: extends PUGX\StatsBundle\Test\StatsFunctionalTest
Afficher le fichier Open project: pugx/badge-poser

Protected Properties

Свойство Type Description
$packagistClient

Méthodes publiques

Méthode Description
provider ( )
setUp ( ) this setUp fake the request/response, if you comment this function the test'd run only with internet connection
testOnDownloadsActionStatisticShouldBeCreated ( )
testOnHomeActionStatisticShouldNotBeCreated ( $path )
testOnLatestStableActionStatisticShouldBeCreated ( )
testOnLatestUnstableActionStatisticShouldBeCreated ( )

Private Methods

Méthode Description
createPackagistClient ( $data, $status = 200 )

Method Details

provider() public méthode

public provider ( )

setUp() public méthode

this setUp fake the request/response, if you comment this function the test'd run only with internet connection
public setUp ( )

testOnDownloadsActionStatisticShouldBeCreated() public méthode

testOnHomeActionStatisticShouldNotBeCreated() public méthode

testOnLatestStableActionStatisticShouldBeCreated() public méthode

testOnLatestUnstableActionStatisticShouldBeCreated() public méthode

Property Details

$packagistClient protected_oe property

protected $packagistClient