Skip to content

Commit

Permalink
[#14555] - Updating Zephir to .12
Browse files Browse the repository at this point in the history
  • Loading branch information
niden committed Nov 30, 2019
1 parent 8dd4648 commit 7e1f8b4
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tests/_ci/nanobox/boxfile.7.2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ run.config:
- echo -e 'apc.enable_cli=1' >> "/data/etc/php/dev_php.ini"
#===========================================================================
# Get the Zephir phar
- wget --no-clobber -O /data/bin/zephir https://github.com/phalcon/zephir/releases/download/0.12.11/zephir.phar
- wget --no-clobber -O /data/bin/zephir https://github.com/phalcon/zephir/releases/download/0.12.12/zephir.phar
- chmod +x /data/bin/zephir

data.memcached:
Expand Down
2 changes: 1 addition & 1 deletion tests/_ci/nanobox/boxfile.7.3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ run.config:
- echo -e 'apc.enable_cli=1' >> "/data/etc/php/dev_php.ini"
#===========================================================================
# Get the Zephir phar
- wget --no-clobber -O /data/bin/zephir https://github.com/phalcon/zephir/releases/download/0.12.11/zephir.phar
- wget --no-clobber -O /data/bin/zephir https://github.com/phalcon/zephir/releases/download/0.12.12/zephir.phar
- chmod +x /data/bin/zephir

data.memcached:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
namespace Phalcon\Test\Cli\Di\FactoryDefault\Cli;

use CliTester;
use Phalcon\Di;
use Phalcon\Di\Service;
use Phalcon\Escaper;

class SetRawCest
{
Expand All @@ -25,6 +28,13 @@ class SetRawCest
public function diFactorydefaultCliSetRaw(CliTester $I)
{
$I->wantToTest('Di\FactoryDefault\Cli - setRaw()');
$I->skipTest('Need implementation');

$di = new Di();

$expected = new Service(Escaper::class);

$actual = $di->setService('escaper', $expected);

$I->assertSame($expected, $actual);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@

namespace Phalcon\Test\Unit\Di\FactoryDefault;

use Phalcon\Di\FactoryDefault\Cli;
use Phalcon\Di\Service;
use Phalcon\Escaper;
use UnitTester;

class SetRawCest
Expand All @@ -26,6 +29,13 @@ public function diFactoryDefaultSetRaw(UnitTester $I)
{
$I->wantToTest('Di\FactoryDefault - setRaw()');

$I->skipTest('Need implementation');

$di = new Cli();

$expected = new Service(Escaper::class);

$actual = $di->setService('escaper', $expected);

$I->assertSame($expected, $actual);
}
}
File renamed without changes.

0 comments on commit 7e1f8b4

Please sign in to comment.