PHP Class seregazhuk\tests\Bot\Api\PinsTest

Inheritance: extends ProviderTest
Show file Open project: seregazhuk/php-pinterest-bot

Protected Properties

Property Type Description
$provider seregazhuk\PinterestBot\Api\Providers\Pins
$providerClass string

Public Methods

Method Description
it_should_create_new_pin ( )
it_should_create_repin ( )
it_should_delete_pin ( )
it_should_edit_pins ( )
it_should_like_pins ( )
it_should_move_pins_between_boards ( )
it_should_return_generator_for_related_pins ( )
it_should_return_generator_for_users_feed ( )
it_should_return_generator_when_searching ( )
it_should_return_generator_with_pin_activity ( )
it_should_return_generator_with_pins_for_specific_site ( )
it_should_return_null_for_empty_activity ( )
it_should_return_pin_info ( )
it_should_unlike_pins ( )
it_should_upload_images_when_creating_pin_with_local_image ( )

Protected Methods

Method Description
apiShouldCreatePin ( ) Creates a pin creation response from Pinterest.

Method Details

apiShouldCreatePin() protected method

Creates a pin creation response from Pinterest.
protected apiShouldCreatePin ( )

it_should_create_new_pin() public method

it_should_create_repin() public method

it_should_delete_pin() public method

it_should_edit_pins() public method

public it_should_edit_pins ( )

it_should_like_pins() public method

public it_should_like_pins ( )

it_should_move_pins_between_boards() public method

it_should_return_generator_for_users_feed() public method

it_should_return_generator_when_searching() public method

it_should_return_generator_with_pin_activity() public method

it_should_return_generator_with_pins_for_specific_site() public method

it_should_return_null_for_empty_activity() public method

it_should_return_pin_info() public method

it_should_unlike_pins() public method

it_should_upload_images_when_creating_pin_with_local_image() public method

Property Details

$provider protected property

protected Pins,seregazhuk\PinterestBot\Api\Providers $provider
return seregazhuk\PinterestBot\Api\Providers\Pins

$providerClass protected property

protected string $providerClass
return string