Skip to content
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

Unit tests #8

Merged
Merged

Conversation

MaximVanhove
Copy link

Hi @husseinalhammad

Here is a first draft of phpunit tests. This could be updated or refactored when adding FA6.

Please let me know what you think!

@MaximVanhove MaximVanhove changed the title Task/unit tests Unit tests Jul 3, 2023
@husseinalhammad
Copy link
Owner

Thanks a lot for this, @MaximVanhove. I'll have a closer look over the weekend.

I know we need the SVGs for the test, but I am not sure whether it is ok to include. I need to check the FontAwesome licenses:

Is any of the SVG icons a pro icon?

@MaximVanhove
Copy link
Author

I had the same thought! So I made sure to only use free icons. The calculator icon and 500px icon are part of the free icon set.

It doesn't really matter that it's an existing icon though. The path could be replaced with a custom icon. Maybe a logo for this package 🤔

@MaximVanhove
Copy link
Author

It looks like the sharp icons are part of the pro icons, so I replaced them with a custom made icon.

@husseinalhammad husseinalhammad merged commit 8165e4a into husseinalhammad:master Jul 9, 2023
@husseinalhammad husseinalhammad linked an issue Jul 9, 2023 that may be closed by this pull request
@husseinalhammad husseinalhammad mentioned this pull request Jul 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add tests
2 participants