FIX Misnamed test namespaces

This commit is contained in:
Daniel Hensby 2017-09-27 16:43:01 +01:00
parent ebeaf3e40d
commit c959160375
No known key found for this signature in database
GPG Key ID: B00D1E9767F0B06E
6 changed files with 18 additions and 18 deletions

View File

@ -6,7 +6,7 @@ use Psr\SimpleCache\CacheInterface;
use SilverStripe\Core\Cache\ApcuCacheFactory;
use SilverStripe\Core\Cache\MemcachedCacheFactory;
use SilverStripe\Core\Injector\Injector;
use SilverStripe\Core\Test\Cache\CacheTest\MockCache;
use SilverStripe\Core\Tests\Cache\CacheTest\MockCache;
use SilverStripe\Dev\SapphireTest;
use Symfony\Component\Cache\Simple\ApcuCache;
use Symfony\Component\Cache\Simple\MemcachedCache;

View File

@ -1,6 +1,6 @@
<?php
namespace SilverStripe\Core\Test\Cache\CacheTest;
namespace SilverStripe\Core\Tests\Cache\CacheTest;
use SilverStripe\Dev\TestOnly;

View File

@ -8,8 +8,8 @@ use SilverStripe\Security\Group;
use SilverStripe\Security\InheritedPermissions;
use SilverStripe\Security\Member;
use SilverStripe\Security\PermissionChecker;
use SilverStripe\Security\Test\InheritedPermissionsTest\TestPermissionNode;
use SilverStripe\Security\Test\InheritedPermissionsTest\TestDefaultPermissionChecker;
use SilverStripe\Security\Tests\InheritedPermissionsTest\TestPermissionNode;
use SilverStripe\Security\Tests\InheritedPermissionsTest\TestDefaultPermissionChecker;
use SilverStripe\Versioned\Versioned;
use Psr\SimpleCache\CacheInterface;
use ReflectionClass;

View File

@ -34,7 +34,7 @@ SilverStripe\Security\Member:
securityadmin:
Groups: =>SilverStripe\Security\Group.securityadmins
SilverStripe\Security\Test\InheritedPermissionsTest\TestPermissionNode:
SilverStripe\Security\Tests\InheritedPermissionsTest\TestPermissionNode:
about:
Title: About Us
CanEditType: OnlyTheseUsers
@ -42,32 +42,32 @@ SilverStripe\Security\Test\InheritedPermissionsTest\TestPermissionNode:
about-staff:
Title: Staff
CanEditType: Inherit
Parent: =>SilverStripe\Security\Test\InheritedPermissionsTest\TestPermissionNode.about
Parent: =>SilverStripe\Security\Tests\InheritedPermissionsTest\TestPermissionNode.about
about-staff-ceo:
Title: CEO
Parent: =>SilverStripe\Security\Test\InheritedPermissionsTest\TestPermissionNode.about-staff
Parent: =>SilverStripe\Security\Tests\InheritedPermissionsTest\TestPermissionNode.about-staff
about-staffduplicate:
Title: Staff
Parent: =>SilverStripe\Security\Test\InheritedPermissionsTest\TestPermissionNode.about
Parent: =>SilverStripe\Security\Tests\InheritedPermissionsTest\TestPermissionNode.about
products:
Title: Products
CanEditType: OnlyTheseUsers
EditorGroups: =>SilverStripe\Security\Group.editors
products-product1:
Title: 1.1 Test Product
Parent: =>SilverStripe\Security\Test\InheritedPermissionsTest\TestPermissionNode.products
Parent: =>SilverStripe\Security\Tests\InheritedPermissionsTest\TestPermissionNode.products
CanEditType: Inherit
products-product2:
Title: Another Product
Parent: =>SilverStripe\Security\Test\InheritedPermissionsTest\TestPermissionNode.products
Parent: =>SilverStripe\Security\Tests\InheritedPermissionsTest\TestPermissionNode.products
CanEditType: Inherit
products-product3:
Title: Another Product
Parent: =>SilverStripe\Security\Test\InheritedPermissionsTest\TestPermissionNode.products
Parent: =>SilverStripe\Security\Tests\InheritedPermissionsTest\TestPermissionNode.products
CanEditType: Inherit
products-product4:
Title: Another Product
Parent: =>SilverStripe\Security\Test\InheritedPermissionsTest\TestPermissionNode.products
Parent: =>SilverStripe\Security\Tests\InheritedPermissionsTest\TestPermissionNode.products
CanEditType: OnlyTheseUsers
EditorGroups: =>SilverStripe\Security\Group.admins
history:
@ -77,21 +77,21 @@ SilverStripe\Security\Test\InheritedPermissionsTest\TestPermissionNode:
history-gallery:
Title: Gallery
CanViewType: Inherit
Parent: =>SilverStripe\Security\Test\InheritedPermissionsTest\TestPermissionNode.history
Parent: =>SilverStripe\Security\Tests\InheritedPermissionsTest\TestPermissionNode.history
contact:
Title: Contact Us
CanViewType: Anyone
contact-form:
Title: Send us a message
CanViewType: Inherit
Parent: =>SilverStripe\Security\Test\InheritedPermissionsTest\TestPermissionNode.contact
Parent: =>SilverStripe\Security\Tests\InheritedPermissionsTest\TestPermissionNode.contact
secret:
Title: Secret
CanViewType: LoggedInUsers
secret-nested:
Title: Nested
CanViewType: Inherit
Parent: =>SilverStripe\Security\Test\InheritedPermissionsTest\TestPermissionNode.secret
Parent: =>SilverStripe\Security\Tests\InheritedPermissionsTest\TestPermissionNode.secret
protected:
Title: Protected
CanViewType: OnlyTheseUsers
@ -99,4 +99,4 @@ SilverStripe\Security\Test\InheritedPermissionsTest\TestPermissionNode:
protected-child:
Title: Child
CanViewType: Inherit
Parent: =>SilverStripe\Security\Test\InheritedPermissionsTest\TestPermissionNode.protected
Parent: =>SilverStripe\Security\Tests\InheritedPermissionsTest\TestPermissionNode.protected

View File

@ -1,6 +1,6 @@
<?php
namespace SilverStripe\Security\Test\InheritedPermissionsTest;
namespace SilverStripe\Security\Tests\InheritedPermissionsTest;
use SilverStripe\Security\Member;
use SilverStripe\Security\DefaultPermissionChecker;

View File

@ -1,6 +1,6 @@
<?php
namespace SilverStripe\Security\Test\InheritedPermissionsTest;
namespace SilverStripe\Security\Tests\InheritedPermissionsTest;
use SilverStripe\Core\Injector\Injector;
use SilverStripe\Dev\TestOnly;