Skip to content

Commit

Permalink
seperate file upload logic from rest api handler #2766
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh Pollock committed Oct 25, 2018
1 parent f371307 commit 3aba811
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 0 deletions.
10 changes: 10 additions & 0 deletions cf2/Fields/Handlers/Cf1FileUploader.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?php


namespace calderawp\calderaforms\cf2\Fields\Handlers;


class Cf1FileUploader
{

}
10 changes: 10 additions & 0 deletions cf2/Fields/Handlers/UploaderContract.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?php


namespace calderawp\calderaforms\cf2\Fields\Handlers;


class UploaderContract
{

}
10 changes: 10 additions & 0 deletions tests/Integration/FileUploadTest.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?php

namespace calderawp\calderaforms\Tests\IntegrationFields\Handlers;

use calderawp\calderaforms\cf2\Fields\Handlers\FileUpload;

class FileUploadTest extends \PHPUnit_Framework_TestCase
{

}
10 changes: 10 additions & 0 deletions tests/Util/Mocks/MockUploader.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?php


namespace calderawp\calderaforms\Tests\Util\Mocks;


class MockUploader
{

}

0 comments on commit 3aba811

Please sign in to comment.