-
Notifications
You must be signed in to change notification settings - Fork 8
[2.0] Refactoring, adding tests, cleanup #34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 20 commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
d1ce6d5
wip
pxpm cf971b3
refactor, add tests
pxpm a8577c5
wip
pxpm 76b0fe2
wip
pxpm 070c7e4
update easy mde uploader
pxpm c25176e
wip
pxpm 78df0e5
remove deleted trait
pxpm 9d033fb
wip
pxpm d42c25d
add repeatable trait
pxpm 220eefb
make functions public
pxpm c4e3a87
rename get function
pxpm 61e1d2e
refactoring dropzone uploader
pxpm 5b313f7
wip
pxpm 31e81d8
add media test models
pxpm ed2d7f3
fix test models
pxpm 6a937b3
fix media pivot namespace
pxpm 257d70c
fix test model namespace
pxpm 37d4cd5
add fk to relation
pxpm 471d18c
add media library tests
pxpm 16511e7
save the object in the macro
pxpm edfac43
Update composer.json
tabacitu File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| .idea/ | ||
| vendor/ | ||
| node_modules/ | ||
| .DS_Store | ||
| .composer.lock | ||
| composer.lock | ||
| .phpunit.result.cache | ||
| src/public/packages/ | ||
| /.phpunit.cache |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,22 +1,25 @@ | ||
| <?xml version="1.0" encoding="UTF-8"?> | ||
| <phpunit bootstrap="vendor/autoload.php" | ||
| backupGlobals="false" | ||
| backupStaticAttributes="false" | ||
| colors="true" | ||
| verbose="true" | ||
| convertErrorsToExceptions="true" | ||
| convertNoticesToExceptions="true" | ||
| convertWarningsToExceptions="true" | ||
| processIsolation="false" | ||
| stopOnFailure="false"> | ||
| <testsuites> | ||
| <testsuite name="Package"> | ||
| <directory suffix=".php">./tests/</directory> | ||
| </testsuite> | ||
| </testsuites> | ||
| <filter> | ||
| <whitelist> | ||
| <directory>src/</directory> | ||
| </whitelist> | ||
| </filter> | ||
| <phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/11.1/phpunit.xsd" bootstrap="vendor/autoload.php" backupGlobals="false" colors="true" processIsolation="false" stopOnFailure="false" cacheDirectory=".phpunit.cache" backupStaticProperties="false"> | ||
| <testsuites> | ||
| <testsuite name="Feature"> | ||
| <directory suffix=".php">./tests/Feature</directory> | ||
| </testsuite> | ||
| </testsuites> | ||
| <php> | ||
| <env name="APP_ENV" value="testing"/> | ||
| <env name="APP_KEY" value="AckfSECXIvnK5r28GVIWUAxmbBSjTsmF"/> | ||
| <env name="BCRYPT_ROUNDS" value="12"/> | ||
| <env name="CACHE_DRIVER" value="array"/> | ||
| <env name="DB_CONNECTION" value="sqlite"/> | ||
| <env name="DB_DATABASE" value=":memory:"/> | ||
| <env name="MAIL_MAILER" value="array"/> | ||
| <env name="QUEUE_CONNECTION" value="sync"/> | ||
| <env name="SESSION_DRIVER" value="array"/> | ||
| <env name="TELESCOPE_ENABLED" value="false"/> | ||
| </php> | ||
| <source> | ||
| <include> | ||
| <directory>src/</directory> | ||
| </include> | ||
| </source> | ||
| </phpunit> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.