Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove "Premium" from product name. MTC-29580
Conflicts: build/mt-dists/default.mk lib/MT.pm
- Loading branch information
Showing
8 changed files
with
62 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
PRODUCT_NAME = Movable Type Premium | ||
PRODUCT_CODE = MT | ||
PRODUCT_NAME = Movable Type | ||
PRODUCT_CODE = MTP |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
PRODUCT_NAME = Movable Type Premium (Advanced) | ||
PRODUCT_CODE = MT | ||
PRODUCT_NAME = Movable Type Advanced | ||
PRODUCT_CODE = MTP |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
PRODUCT_NAME = Movable Type Premium | ||
PRODUCT_CODE = MT | ||
PRODUCT_NAME = Movable Type | ||
PRODUCT_CODE = MTP |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
PRODUCT_NAME = Movable Type Core | ||
PRODUCT_CODE = MT | ||
PRODUCT_VERSION = 8.0 | ||
|
||
VERSION_SUFFIX = | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
#!/usr/bin/perl | ||
use strict; | ||
use warnings; | ||
use FindBin; | ||
use lib "$FindBin::Bin/lib"; # t/lib | ||
use Test::More; | ||
use MT::Test::Env; | ||
our $test_env; | ||
BEGIN { | ||
$test_env = MT::Test::Env->new( | ||
DefaultLanguage => 'ja', | ||
); | ||
$ENV{MT_CONFIG} = $test_env->config_file; | ||
} | ||
|
||
use MT; | ||
MT->instance; | ||
|
||
my @test_suite = ({ | ||
product_name => 'Movable Type', | ||
product_code => 'MT', | ||
portal_url => 'https://www.sixapart.jp/movabletype/', | ||
}, | ||
{ | ||
product_name => 'Movable Type Advanced', | ||
product_code => 'MT', | ||
portal_url => 'https://www.sixapart.jp/movabletype/solutions/mta.html', | ||
}, | ||
{ | ||
product_name => 'Movable Type', | ||
product_code => 'MTP', | ||
portal_url => 'https://www.sixapart.jp/movabletype/solutions/mtpremium.html', | ||
}, | ||
{ | ||
product_name => 'Movable Type Advanced', | ||
product_code => 'MTP', | ||
portal_url => 'https://www.sixapart.jp/movabletype/solutions/mtpremium.html', | ||
}, | ||
); | ||
|
||
for my $test (@test_suite) { | ||
subtest '$PRODUCT_NAME: ' . $test->{product_name} . ', $PRODUCT_CODE: ' . $test->{product_code} => sub { | ||
$MT::PRODUCT_NAME = $test->{product_name}; | ||
$MT::PRODUCT_CODE = $test->{product_code}; | ||
is(MT->portal_url, $test->{portal_url}, 'MT->portal_url: ' . $test->{portal_url}); | ||
}; | ||
} | ||
|
||
done_testing; |