Vincent Faliès - Artisan Codeur

TMDb v1.6.2 is available

php web project TMDb
Reading time: 1 minute, 0 seconds

A new version of wrapper for TMDb API is now available in 1.6.2 version.

In this version, the main feature is the gestion of authentication and account methods for personnalize your experience with this API. You can now connecting to the platform, setting and gettting your favorites movies and...

Continue reading...

PHPunit : Test a method with redirection

php web Development phpunit test
Reading time: 1 minute, 0 seconds

Development's tests are a mandatory step for guarantee the validity and viability of the code. Sometimes, the tests writing are not trivial. For instance, a method can do an HTTP redirection :

class MyClass
{
    /**
     * Method to redirect to https://vfac.fr
    **/
    public function doRedire...

Continue reading...