Skip to content
This repository has been archived by the owner on Aug 13, 2019. It is now read-only.

Commit

Permalink
III-2080: Rename IndexVersions to SchemaVersions
Browse files Browse the repository at this point in the history
  • Loading branch information
bertramakers committed May 15, 2017
1 parent 357a3b3 commit 0426ad9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace CultuurNet\UDB3\Search\ElasticSearch\Operations;

class IndexVersions
class SchemaVersions
{
const UDB3_CORE = 20170515145300;
const GEOSHAPES = 20170515145300;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,21 @@

namespace CultuurNet\UDB3\Search\ElasticSearch\Operations;

class IndexVersionsTest extends \PHPUnit_Framework_TestCase
class SchemaVersionsTest extends \PHPUnit_Framework_TestCase
{
/**
* @test
*/
public function it_has_the_latest_udb3_core_version()
{
$this->assertTrue(defined(IndexVersions::class . '::UDB3_CORE'));
$this->assertTrue(defined(SchemaVersions::class . '::UDB3_CORE'));
}

/**
* @test
*/
public function it_has_the_latest_geoshapes_version()
{
$this->assertTrue(defined(IndexVersions::class . '::GEOSHAPES'));
$this->assertTrue(defined(SchemaVersions::class . '::GEOSHAPES'));
}
}

0 comments on commit 0426ad9

Please sign in to comment.