JD\Cloudder\Test\CloudinaryWrapperTest::it_should_update_a_transformation_when_calling_update_transformation PHP Method

it_should_update_a_transformation_when_calling_update_transformation() public method

    public function it_should_update_a_transformation_when_calling_update_transformation()
    {
        $transformation = "c_fill,h_100,w_150";
        $updates = array("allowed_for_strict" => 1);
        // given
        $this->api->shouldReceive('update_transformation')->once()->with($transformation, $updates, array());
        // when
        $this->cloudinary_wrapper->updateTransformation($transformation, $updates);
    }
CloudinaryWrapperTest