Skip to content

Commit

Permalink
Add BC tests for public php api
Browse files Browse the repository at this point in the history
  • Loading branch information
kwizer15 committed Sep 17, 2024
1 parent 88fa8db commit e3ec228
Show file tree
Hide file tree
Showing 4 changed files with 1,797 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/cacheTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ public function testLifetime(): void {
}

public function testExpired(): void {
$this->markTestSkipped('Too long to run');
cache::set('toto', 'toto', 1);
sleep(2);
$cache = cache::byKey('toto');
Expand Down
6 changes: 6 additions & 0 deletions tests/generatePhpPublicApi.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?php

require_once dirname(__DIR__) . '/vendor/autoload.php';
require_once __DIR__ . '/pluginBCTest.php';

pluginBCTest::generateMethodsSignatures();
Loading

0 comments on commit e3ec228

Please sign in to comment.