- $width = 200;
- $height = 200;
- $conf->set('thumbnails.width', $width);
- $conf->set('thumbnails.height', $height);
+ $conf->set('thumbnails.width', self::WIDTH);
+ $conf->set('thumbnails.height', self::HEIGHT);
+ $conf->set('dev.debug', true);
+
+ $this->thumbnailer = new Thumbnailer($conf);
+ // cache files in the sandbox
+ WTConfigManager::addFile('tests/utils/config/wt.json');
+ }
+
+ public function tearDown()
+ {
+ $this->rrmdirContent('sandbox/');
+ }