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

[CacheImplementationTest] added unit tests for cache implementations #1007

Merged

Conversation

fulmeek
Copy link
Contributor

@fulmeek fulmeek commented Jan 12, 2019

This adds unit tests for the cache implementations.

Note that this does not test whether the caches actually work as they may have implementation specific dependencies.

Copy link
Contributor

@logmanoriginal logmanoriginal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good job 👍
The tests are working fine. Find below a small adjustment to a variable name.

foreach (glob(PATH_LIB_CACHES . '*.php') as $path) {
$bridges[basename($path, '.php')] = array($path);
}
return $bridges;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

$bridges should probably be changed to $caches.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, you're right! Thanks :)

@logmanoriginal logmanoriginal merged commit f65a407 into RSS-Bridge:master Feb 4, 2019
@logmanoriginal
Copy link
Contributor

Merged, thanks!

@fulmeek fulmeek deleted the upstream-CacheImplementationTest branch February 4, 2019 22:29
infominer33 pushed a commit to web-work-tools/rss-bridge that referenced this pull request Apr 17, 2020
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.

2 participants