Files

30 lines
540 B
PHP
Raw Permalink Normal View History

2018-06-25 00:00:37 +02:00
<?php
class AccessFunctionsTest extends \Codeception\TestCase\WPTestCase
{
public function setUp()
{
// before
parent::setUp();
// your set up methods here
}
public function tearDown()
{
// your tear down methods here
// then
parent::tearDown();
}
// tests
public function testMe()
{
$actual = graphql_format_field_name( 'This is some field name' );
$expected = 'thisIsSomeFieldName';
self::assertEquals( $expected, $actual );
}
}